Currently the tests are failing on current master, if they use the --usecli
flag. See https://github.com/bitcoin/bitcoin/runs/45676472375, https://cirrus-ci.com/task/5707897310543872.
This can be reproduced locally via:
0./bld-cmake/test/functional/wallet_reorgsrestore.py --usecli
Fix it by adding the missing hash_or_height=self.convert_to_json_for_cli(tip)
for the value that could either be a string (needs quotes in json), or a number (does not need quotes in json).