mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 6300438a2e into merged_master (Bitcoin PR bitcoin/bitcoin#30115)
This commit is contained in:
commit
b64d8b87c8
26 changed files with 162 additions and 162 deletions
|
|
@ -297,7 +297,7 @@ public:
|
|||
total += counts.at(i);
|
||||
}
|
||||
addresses.pushKV("total", total);
|
||||
result.pushKV("addresses_known", addresses);
|
||||
result.pushKV("addresses_known", std::move(addresses));
|
||||
return JSONRPCReplyObj(std::move(result), NullUniValue, /*id=*/1, JSONRPCVersion::V1_LEGACY);
|
||||
}
|
||||
};
|
||||
|
|
@ -348,7 +348,7 @@ public:
|
|||
connections.pushKV("in", batch[ID_NETWORKINFO]["result"]["connections_in"]);
|
||||
connections.pushKV("out", batch[ID_NETWORKINFO]["result"]["connections_out"]);
|
||||
connections.pushKV("total", batch[ID_NETWORKINFO]["result"]["connections"]);
|
||||
result.pushKV("connections", connections);
|
||||
result.pushKV("connections", std::move(connections));
|
||||
|
||||
result.pushKV("networks", batch[ID_NETWORKINFO]["result"]["networks"]);
|
||||
result.pushKV("difficulty", batch[ID_BLOCKCHAININFO]["result"]["difficulty"]);
|
||||
|
|
@ -949,7 +949,7 @@ static void GetWalletBalances(UniValue& result)
|
|||
const UniValue& balance = getbalances.find_value("result")["mine"]["trusted"];
|
||||
balances.pushKV(wallet_name, balance);
|
||||
}
|
||||
result.pushKV("balances", balances);
|
||||
result.pushKV("balances", std::move(balances));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue