Skip to content

Commit

Permalink
Fix feature_init.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil committed Oct 26, 2024
1 parent e218d9c commit 029fc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/feature_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def sigterm_node():

def start_expecting_error(err_fragment):
node.assert_start_raises_init_error(
extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1', '-checkblocks=200', '-checklevel=4'],
extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1', '-checkblocks=2100', '-checklevel=4'],
expected_msg=err_fragment,
match=ErrorMatch.PARTIAL_REGEX,
)
Expand Down Expand Up @@ -137,7 +137,7 @@ def check_clean_start():
# Since the genesis block is not checked by -checkblocks, the
# perturbation window must be chosen such that a higher block
# in blk*.dat is affected.
tf.seek(150)
tf.seek(500)
tf.write(b"1" * 200)

start_expecting_error(err_fragment)
Expand Down

0 comments on commit 029fc4d

Please sign in to comment.