Skip to content

Commit 2bc1ecf

Browse files
committed
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
1 parent 60b6ff5 commit 2bc1ecf

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

test/functional/feature_assumeutxo.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ def run_test(self):
166166
for n in self.nodes:
167167
n.setmocktime(n.getblockheader(n.getbestblockhash())['time'])
168168

169-
self.sync_blocks()
170-
171169
# Generate a series of blocks that `n0` will have in the snapshot,
172170
# but that n1 doesn't yet see. In order for the snapshot to activate,
173171
# though, we have to ferry over the new headers to n1 so that it

test/functional/wallet_assumeutxo.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ def run_test(self):
6262
for n in self.nodes:
6363
n.setmocktime(n.getblockheader(n.getbestblockhash())['time'])
6464

65-
self.sync_blocks()
66-
6765
n0.createwallet('w')
6866
w = n0.get_wallet_rpc("w")
6967

0 commit comments

Comments
 (0)