From cb78c60534e5be205f9190cb0cde700f9e9fa38d Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 4 Oct 2016 19:27:11 -0400 Subject: 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. --- src/net.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net.cpp') diff --git a/src/net.cpp b/src/net.cpp index 770e2d295..19dd04099 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); -- cgit v1.2.3