aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-06-10 17:11:38 -0700
committerfanquake <fanquake@gmail.com>2020-07-08 09:10:52 +0800
commit2b79ac740622218a52e2cf3ae1755dd3a8d4847a (patch)
tree10ee4ea03b0960eab263bcfcf9cfb8253264194c /src/qt
parent04773480575ac79f238ac5764247dddd0cae5051 (diff)
downloadbitcoin-2b79ac740622218a52e2cf3ae1755dd3a8d4847a.tar.xz
Clean up separated ban/discourage interface
Github-Pull: #19219 Rebased-From: 2ad58381fffb33d611abf900b73d9e6b5a4e35f8
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 0ffdc892c5..01e387f74b 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -1216,7 +1216,7 @@ void RPCConsole::banSelectedNode(int bantime)
// Find possible nodes, ban it and clear the selected node
const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(detailNodeRow);
if (stats) {
- m_node.ban(stats->nodeStats.addr, BanReasonManuallyAdded, bantime);
+ m_node.ban(stats->nodeStats.addr, bantime);
m_node.disconnectByAddress(stats->nodeStats.addr);
}
}