diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2022-12-12 14:08:21 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-11 17:41:34 +0100 |
commit | faf96721a66dcc215ea9d6affb30f9a00cc37000 (patch) | |
tree | 91705f800a964cd0b940adf3e71a7a27312300fe /test/functional/p2p_disconnect_ban.py | |
parent | 9887fc789886b356efc6818783cabaab2b14481f (diff) | |
download | bitcoin-faf96721a66dcc215ea9d6affb30f9a00cc37000.tar.xz |
test: Fix wrong types passed to RPCs
Diffstat (limited to 'test/functional/p2p_disconnect_ban.py')
-rwxr-xr-x | test/functional/p2p_disconnect_ban.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_disconnect_ban.py b/test/functional/p2p_disconnect_ban.py index 7169cc8937..b2f0659eda 100755 --- a/test/functional/p2p_disconnect_ban.py +++ b/test/functional/p2p_disconnect_ban.py @@ -107,7 +107,7 @@ class DisconnectBanTest(BitcoinTestFramework): self.log.info("disconnectnode: fail to disconnect when calling with address and nodeid") address1 = self.nodes[0].getpeerinfo()[0]['addr'] - node1 = self.nodes[0].getpeerinfo()[0]['addr'] + node1 = self.nodes[0].getpeerinfo()[0]["id"] assert_raises_rpc_error(-32602, "Only one of address and nodeid should be provided.", self.nodes[0].disconnectnode, address=address1, nodeid=node1) self.log.info("disconnectnode: fail to disconnect when calling with junk address") |