aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_setban.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-09-04 13:17:22 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-09-04 13:10:37 -0400
commitfae91a09c453a9a95c382df765bd71e54698d5b2 (patch)
tree4af9c72fb0a0e7e6cc1aee448771a2212633c2b3 /test/functional/rpc_setban.py
parent6e431296daceee604f48e9e3e87fa84cfd44bef2 (diff)
test: Remove incorrect and unused try-block in assert_debug_log
Diffstat (limited to 'test/functional/rpc_setban.py')
-rwxr-xr-xtest/functional/rpc_setban.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_setban.py b/test/functional/rpc_setban.py
index 423741fd27..b1d2b6f431 100755
--- a/test/functional/rpc_setban.py
+++ b/test/functional/rpc_setban.py
@@ -26,7 +26,7 @@ class SetBanTests(BitcoinTestFramework):
self.nodes[1].setban("127.0.0.1", "add")
# Node 0 should not be able to reconnect
- with self.nodes[1].assert_debug_log(expected_msgs=['dropped (banned)\n'],timeout=5):
+ with self.nodes[1].assert_debug_log(expected_msgs=['dropped (banned)\n'], timeout=5):
self.restart_node(1, [])
self.nodes[0].addnode("127.0.0.1:" + str(p2p_port(1)), "onetry")