fix: test nodes should use mocktime

This commit is contained in:
UdjinM6 2024-04-02 17:38:35 +03:00
parent acbbe8c9a2
commit 3cd69377b6
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -56,7 +56,7 @@ class AddrTest(BitcoinTestFramework):
'received: addr (301 bytes) peer=0',
]):
addr_source.send_and_ping(msg)
self.nodes[0].setmocktime(int(time.time()) + 30 * 60)
self.bump_mocktime(30 * 60)
addr_receiver.sync_with_ping()