mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
gui: fix ban from qt console
Rather than doing a circle and re-resolving the node's IP, just use the one from nodestats directly. This requires syncing the addr field from CNode.
This commit is contained in:
@@ -629,6 +629,7 @@ void CNode::copyStats(CNodeStats &stats)
|
||||
{
|
||||
stats.nodeid = this->GetId();
|
||||
X(nServices);
|
||||
X(addr);
|
||||
X(fRelayTxes);
|
||||
X(nLastSend);
|
||||
X(nLastRecv);
|
||||
|
||||
Reference in New Issue
Block a user