test: call self.generate() in p2p_net_deadlock.py

This commit is contained in:
Kittywhiskers Van Gogh 2024-10-05 09:41:53 +00:00
parent 74e54b8a12
commit 9b0c506cf0
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -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__':