From 9b0c506cf044d1640bfa8f985b41a7c233df3f17 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Sat, 5 Oct 2024 09:41:53 +0000 Subject: [PATCH] test: call `self.generate()` in `p2p_net_deadlock.py` --- test/functional/p2p_net_deadlock.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/p2p_net_deadlock.py b/test/functional/p2p_net_deadlock.py index cf62d13310..b1b9e67c6d 100755 --- a/test/functional/p2p_net_deadlock.py +++ b/test/functional/p2p_net_deadlock.py @@ -29,8 +29,7 @@ class NetDeadlockTest(BitcoinTestFramework): thread1.join() self.log.info("Check whether a deadlock happened") - self.nodes[0].generate(1) - self.sync_blocks() + self.generate(self.nodes[0], 1) if __name__ == '__main__':