mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
test: Add missing node.setmocktime(self.mocktime) to p2p_ibd_stalling.py
This was forgotten by myself in commitfa5b58ea01
Github-Pull: #31383 Rebased-From:faa16ed4b9
This commit is contained in:
parent
fa5b58ea01
commit
88c7842f35
@ -74,6 +74,7 @@ class P2PIBDStallingTest(BitcoinTestFramework):
|
||||
|
||||
self.log.info("Check that a staller does not get disconnected if the 1024 block lookahead buffer is filled")
|
||||
self.mocktime = int(time.time()) + 1
|
||||
node.setmocktime(self.mocktime)
|
||||
for id in range(NUM_PEERS):
|
||||
peers.append(node.add_outbound_p2p_connection(P2PStaller(stall_block), p2p_idx=id, connection_type="outbound-full-relay"))
|
||||
peers[-1].block_store = block_dict
|
||||
|
Loading…
Reference in New Issue
Block a user