[net processing] Move IgnoresIncomingTxs to PeerManagerInfo

This commit is contained in:
dergoegge
2023-11-29 12:03:49 +00:00
committed by stickies-v
parent 7d9c3ec622
commit 92e72b5d0d
3 changed files with 3 additions and 5 deletions

View File

@@ -679,7 +679,7 @@ static RPCHelpMan getnetworkinfo()
}
if (node.peerman) {
auto peerman_info{node.peerman->GetInfo()};
obj.pushKV("localrelay", !node.peerman->IgnoresIncomingTxs());
obj.pushKV("localrelay", !peerman_info.ignores_incoming_txs);
obj.pushKV("timeoffset", Ticks<std::chrono::seconds>(peerman_info.median_outbound_time_offset));
}
if (node.connman) {