[#1114]modify varibale name inconsistency
@@ -35,7 +35,7 @@ START_TEST(test_006GetBalance_0001GetSuccess)
BoatIotSdkInit();
result = ethereumWalletPrepare();
- ck_assert(rtnVal == BOAT_SUCCESS);
+ ck_assert(result == BOAT_SUCCESS);
result = BoatEthTxInit(g_ethereum_wallet_ptr, &tx_ctx, BOAT_TRUE, NULL,
"0x333333",
@@ -65,7 +65,7 @@ START_TEST(test_006GetBalance_0002GetWalletDefaultAddressSuccess)
BoatIotSdkInit();
result = ethereumWalletPrepare();
- ck_assert(rtnVal == BOAT_SUCCESS);
+ ck_assert(result == BOAT_SUCCESS);
result = BoatEthTxInit(g_ethereum_wallet_ptr, &tx_ctx, BOAT_TRUE, NULL,
"0x333333",
@@ -107,7 +107,7 @@ START_TEST(test_007Transfer_0001TransferSuccess)
BoatIotSdkInit();
result = ethereumWalletPrepare();
- ck_assert(rtnVal == BOAT_SUCCESS);
+ ck_assert(result == BOAT_SUCCESS);
result = BoatEthTxInit(g_ethereum_wallet_ptr, &tx_ctx, BOAT_TRUE, NULL,
"0x333333",
@@ -129,7 +129,7 @@ START_TEST(test_007Transfer_0002TransferFailureNullParam)
BoatIotSdkInit();
result = ethereumWalletPrepare();
- ck_assert(rtnVal == BOAT_SUCCESS);
+ ck_assert(result == BOAT_SUCCESS);
result = BoatEthTxInit(g_ethereum_wallet_ptr, &tx_ctx, BOAT_TRUE, NULL,
"0x333333",
