Skip to content

Commit

Permalink
test: fix node index bug when comparing peerinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
kashifs committed Nov 10, 2023
1 parent 1fdd832 commit 22e3808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/p2p_v2_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def run_test(self):
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")
Expand Down

0 comments on commit 22e3808

Please sign in to comment.