Merge 33707a2a88 into merged_master (Bitcoin PR bitcoin/bitcoin#22782)

This commit is contained in:
Byron Hambly 2023-04-11 08:18:04 +00:00
commit 6d32af1662
9 changed files with 19 additions and 44 deletions

View file

@ -197,7 +197,7 @@ static RPCHelpMan getpeerinfo()
CNodeStateStats statestats;
bool fStateStats = peerman.GetNodeStateStats(stats.nodeid, statestats);
obj.pushKV("id", stats.nodeid);
obj.pushKV("addr", stats.addrName);
obj.pushKV("addr", stats.m_addr_name);
if (stats.addrBind.IsValid()) {
obj.pushKV("addrbind", stats.addrBind.ToString());
}