mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
test: Remove unnecessary sync_blocks in assumeutxo tests
The nodes are not connected at this point and no blocks have been mined, so it does not seem do anything
This commit is contained in:
parent
60b6ff5ac0
commit
2bc1ecfaa9
@ -166,8 +166,6 @@ class AssumeutxoTest(BitcoinTestFramework):
|
||||
for n in self.nodes:
|
||||
n.setmocktime(n.getblockheader(n.getbestblockhash())['time'])
|
||||
|
||||
self.sync_blocks()
|
||||
|
||||
# Generate a series of blocks that `n0` will have in the snapshot,
|
||||
# but that n1 doesn't yet see. In order for the snapshot to activate,
|
||||
# though, we have to ferry over the new headers to n1 so that it
|
||||
|
@ -62,8 +62,6 @@ class AssumeutxoTest(BitcoinTestFramework):
|
||||
for n in self.nodes:
|
||||
n.setmocktime(n.getblockheader(n.getbestblockhash())['time'])
|
||||
|
||||
self.sync_blocks()
|
||||
|
||||
n0.createwallet('w')
|
||||
w = n0.get_wallet_rpc("w")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user