Skip to content

Commit

Permalink
Fix feature_dbcrash.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil committed Aug 28, 2023
1 parent b7ebdad commit aaf8ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/feature_dbcrash.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def run_test(self):
while current_height + 1 > self.nodes[3].getblockcount():
block_hashes.extend(self.generatetoaddress(
self.nodes[3],
nblocks=min(10, current_height + 1 - self.nodes[3].getblockcount()),
nblocks=10,
# new address to avoid mining a block that has just been invalidated
address=getnewdestination()[2],
sync_fun=self.no_op,
Expand Down

0 comments on commit aaf8ea6

Please sign in to comment.