mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix: test nodes should use mocktime
This commit is contained in:
parent
acbbe8c9a2
commit
3cd69377b6
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user