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:
Fabian Jahr 2024-02-19 17:47:34 +01:00
parent 60b6ff5ac0
commit 2bc1ecfaa9
No known key found for this signature in database
GPG Key ID: F13D1E9D890798CD
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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")