test: Remove convert_to_json_for_cli
This commit is contained in:
1 parent
44a493e150
commit
df67bb6fd8
6 files changed
+13
-20
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user