Skip to content

Commit

Permalink
Fix p2p_net_deadlock.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil committed Oct 28, 2024
1 parent 4cc416e commit 6e8bb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/p2p_net_deadlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def run_test(self):
node1 = self.nodes[1]

self.log.info("Simultaneously send a large message on both sides")
rand_msg = randbytes(4000000).hex()
rand_msg = randbytes(2000000).hex()

thread0 = threading.Thread(target=node0.sendmsgtopeer, args=(0, "unknown", rand_msg))
thread1 = threading.Thread(target=node1.sendmsgtopeer, args=(0, "unknown", rand_msg))
Expand Down

0 comments on commit 6e8bb94

Please sign in to comment.