diff options
author | Kashif Smith <1489460+kashifs@users.noreply.github.com> | 2023-11-10 16:25:18 -0500 |
---|---|---|
committer | Kashif Smith <1489460+kashifs@users.noreply.github.com> | 2023-11-10 16:25:18 -0500 |
commit | 22e38080ea75c9efb1cb7d4643a1c79fdafa6180 (patch) | |
tree | 08f92e32af08e52c2195034735e408a317a08538 /test/functional/p2p_v2_transport.py | |
parent | 1fdd832842f3b002ce0dd079747b6015fe5569cd (diff) |
test: fix node index bug when comparing peerinfo
Diffstat (limited to 'test/functional/p2p_v2_transport.py')
-rwxr-xr-x | test/functional/p2p_v2_transport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_v2_transport.py b/test/functional/p2p_v2_transport.py index 5ad2194b84..1a3b4a6d0a 100755 --- a/test/functional/p2p_v2_transport.py +++ b/test/functional/p2p_v2_transport.py @@ -48,7 +48,7 @@ class V2TransportTest(BitcoinTestFramework): assert_equal(self.nodes[1].getblockcount(), 5) # verify there is a v2 connection between node 0 and 1 node_0_info = self.nodes[0].getpeerinfo() - node_1_info = self.nodes[0].getpeerinfo() + node_1_info = self.nodes[1].getpeerinfo() assert_equal(len(node_0_info), 1) assert_equal(len(node_1_info), 1) assert_equal(node_0_info[0]["transport_protocol_type"], "v2") |