aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2016-10-04 19:27:11 -0400
committerCory Fields <[email protected]>2016-10-04 19:43:53 -0400
commitcb78c60534e5be205f9190cb0cde700f9e9fa38d (patch)
treeb217ec453786a1ec3882cce301bfa4b2479e3705 /src/net.h
parentMerge #8848: Add NULLDUMMY verify flag in bitcoinconsensus.h (diff)
downloaddiscoin-cb78c60534e5be205f9190cb0cde700f9e9fa38d.tar.xz
discoin-cb78c60534e5be205f9190cb0cde700f9e9fa38d.zip
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.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index d0b277362..67f0abe4b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -505,6 +505,7 @@ public:
double dPingWait;
double dPingMin;
std::string addrLocal;
+ CAddress addr;
};