diff --git a/libraries/plugins/peerplays_sidechain/sidechain_net_handler_hive.cpp b/libraries/plugins/peerplays_sidechain/sidechain_net_handler_hive.cpp index ba3de1f6..d0acb16c 100644 --- a/libraries/plugins/peerplays_sidechain/sidechain_net_handler_hive.cpp +++ b/libraries/plugins/peerplays_sidechain/sidechain_net_handler_hive.cpp @@ -274,7 +274,6 @@ bool sidechain_net_handler_hive::process_proposal(const proposal_object &po) { account_auths[wallet_son.public_key] = wallet_son.weight; } - hive_rpc_client *rpc_client = get_active_rpc_client(); const std::string memo_key = rpc_client->get_account_memo_key(wallet_account_name); hive::authority active; @@ -324,7 +323,6 @@ bool sidechain_net_handler_hive::process_proposal(const proposal_object &po) { uint64_t swdo_sidechain_amount = swdo->sidechain_amount.value; uint64_t swdo_op_idx = std::stoll(swdo->sidechain_uid.substr(swdo->sidechain_uid.find_last_of("-"))); - hive_rpc_client *rpc_client = get_active_rpc_client(); const std::string tx_str = rpc_client->account_history_api_get_transaction(swdo_txid); if (tx_str != "") { @@ -521,7 +519,6 @@ void sidechain_net_handler_hive::process_primary_wallet() { account_auths[active_son.public_key] = active_son.weight; } - hive_rpc_client *rpc_client = get_active_rpc_client(); const std::string memo_key = rpc_client->get_account_memo_key(wallet_account_name); if (memo_key.empty()) {