refactor: Reduced one call to api_ethereum.c function.
boatethereum.c should not call functions in api_ethereum.c.
Some formatting issues have also been modified.
@@ -474,7 +474,7 @@ BOAT_RESULT EthSendRawtx(BOAT_INOUT BoatEthTx *tx_ptr)
BoatLog(BOAT_LOG_NORMAL, "Fail to send raw transaction to network.");
boat_throw(BOAT_ERROR_RPC_FAILED, EthSendRawtx_cleanup);
}
- result = BoatEthPraseRpcResponseResult(tx_hash_str, "",
+ result = web3_parse_json_result(tx_hash_str, "",
&tx_ptr->wallet_ptr->web3intf_context_ptr->web3_result_string_buf);
if (result != BOAT_SUCCESS)
{
