aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-10-04 19:27:11 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-10-04 19:43:53 -0400
commitcb78c60534e5be205f9190cb0cde700f9e9fa38d (patch)
treeb217ec453786a1ec3882cce301bfa4b2479e3705 /src/net.cpp
parentd7615af34e8e19920ed12bfdafb09e0e4b57c7c5 (diff)
downloadbitcoin-cb78c60534e5be205f9190cb0cde700f9e9fa38d.tar.xz
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.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 770e2d2959..19dd040997 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -629,6 +629,7 @@ void CNode::copyStats(CNodeStats &stats)
{
stats.nodeid = this->GetId();
X(nServices);
+ X(addr);
X(fRelayTxes);
X(nLastSend);
X(nLastRecv);