We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a40e953 commit fa05284Copy full SHA for fa05284
test/functional/wallet_reorgsrestore.py
@@ -1,5 +1,5 @@
1
#!/usr/bin/env python3
2
-# Copyright (c) 2019-2022 The Bitcoin Core developers
+# Copyright (c) 2019-present The Bitcoin Core developers
3
# Distributed under the MIT software license, see the accompanying
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
@@ -104,7 +104,7 @@ def test_reorg_handling_during_unclean_shutdown(self):
104
105
# Disconnect tip and sync wallet state
106
tip = wallet.getbestblockhash()
107
- tip_height = wallet.getblockstats(tip)["height"]
+ tip_height = wallet.getblockstats(hash_or_height=self.convert_to_json_for_cli(tip))["height"]
108
wallet.invalidateblock(tip)
109
wallet.syncwithvalidationinterfacequeue()
110
0 commit comments