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.
This commit is contained in:
Cory Fields
2016-10-04 19:27:11 -04:00
parent d7615af34e
commit cb78c60534
3 changed files with 16 additions and 13 deletions

View File

@@ -629,6 +629,7 @@ void CNode::copyStats(CNodeStats &stats)
{
stats.nodeid = this->GetId();
X(nServices);
X(addr);
X(fRelayTxes);
X(nLastSend);
X(nLastRecv);