Skip to content

Commit 206bc05

Browse files
committed
test: remove unnecessary m_best_header setting hack in feature_assumeutxo.py
The mentioned bug has been fixed in PR bitcoin#30666, so the workaround is not needed anymore.
1 parent 5757de4 commit 206bc05

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/functional/feature_assumeutxo.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,6 @@ def check_dump_output(output):
484484
dump_output5 = n0.dumptxoutset('utxos5.dat', rollback=prev_snap_hash)
485485
assert_equal(sha256sum_file(dump_output4['path']), sha256sum_file(dump_output5['path']))
486486

487-
# TODO: This is a hack to set m_best_header to the correct value after
488-
# dumptxoutset/reconsiderblock. Otherwise the wrong error messages are
489-
# returned in following tests. It can be removed once this bug is
490-
# fixed. See also https://github.com/bitcoin/bitcoin/issues/26245
491-
self.restart_node(0, ["-reindex"])
492-
493487
# Ensure n0 is back at the tip
494488
assert_equal(n0.getblockchaininfo()["blocks"], FINAL_HEIGHT)
495489

0 commit comments

Comments
 (0)