diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-05-31 15:50:24 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-07-31 14:01:43 -0400 |
commit | b6c3ff3daed432e71d1c5bfe2357c4bb9fdc862a (patch) | |
tree | 102e1236181b8fd21235e31154c160cc9a393757 /src/qt/rpcconsole.cpp | |
parent | f96c7c4d91f3c09d26658bc9c15aa561689fa2d4 (diff) |
net: Split resolving out of CSubNet
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r-- | src/qt/rpcconsole.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index e7df4f2dfa..21eda07ddf 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -915,8 +915,9 @@ void RPCConsole::unbanSelectedNode() // Get currently selected ban address QString strNode = GUIUtil::getEntryData(ui->banlistWidget, 0, BanTableModel::Address); - CSubNet possibleSubnet(strNode.toStdString()); + CSubNet possibleSubnet; + LookupSubNet(strNode.toStdString().c_str(), possibleSubnet); if (possibleSubnet.IsValid()) { CNode::Unban(possibleSubnet); |