diff options
| author | Cory Fields <[email protected]> | 2016-10-04 19:27:11 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-10-04 19:43:53 -0400 |
| commit | cb78c60534e5be205f9190cb0cde700f9e9fa38d (patch) | |
| tree | b217ec453786a1ec3882cce301bfa4b2479e3705 /src/net.cpp | |
| parent | Merge #8848: Add NULLDUMMY verify flag in bitcoinconsensus.h (diff) | |
| download | discoin-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.cpp')
| -rw-r--r-- | src/net.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |