aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
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.h
parentd7615af34e8e19920ed12bfdafb09e0e4b57c7c5 (diff)
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 d0b2773623..67f0abe4be 100644
--- a/src/net.h
+++ b/src/net.h
@@ -505,6 +505,7 @@ public:
double dPingWait;
double dPingMin;
std::string addrLocal;
+ CAddress addr;
};