test: Remove convert_to_json_for_cli

This commit is contained in:
Ava Chow committed 2025-09-23 12:58:00 -07:00
1 parent 44a493e150
commit df67bb6fd8
6 files changed
+13 -20

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ class ReorgsRestoreTest(BitcoinTestFramework):
# Disconnect tip and sync wallet state
tip = wallet.getbestblockhash()
tip_height = wallet.getblockstats(hash_or_height=self.convert_to_json_for_cli(tip))["height"]
tip_height = wallet.getblockstats(hash_or_height=tip)["height"]
wallet.invalidateblock(tip)
wallet.syncwithvalidationinterfacequeue()