feat(venachain):adapt some api name
@@ -184,7 +184,7 @@ BOAT_RESULT venachain_call_mycontract(BoatVenachainWallet *wallet_ptr)
BCHAR *result_str;
BoatVenachainTx tx_ctx;
BOAT_RESULT result;
- nodesResult result_out = {0,NULL};
+ venachain_nodesResult result_out = {0,NULL};
/* Set Contract Address */
result = BoatVenachainTxInit(wallet_ptr, &tx_ctx, BOAT_TRUE, NULL,
@@ -202,7 +202,7 @@ BOAT_RESULT venachain_call_mycontract(BoatVenachainWallet *wallet_ptr)
/* code */
printf( "node[%d] : IP[%s],port[%d]. \n",i,result_out.nodeInfo[i].IP,result_out.nodeInfo[i].rpcPort);
}
- nodeResFree(&result_out);
+ venachainNodeResFree(&result_out);
result_str = my_contract_cpp_abi_setName(&tx_ctx, "HelloWorld");
if (result_str == NULL)
