SON conn. pool

This commit is contained in:
timur 2022-11-28 06:38:50 -04:00
parent 87c2f5a10f
commit d45b631079

View file

@ -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()) {