diff options
author | Harris <brakmic@gmail.com> | 2020-04-27 10:45:03 +0200 |
---|---|---|
committer | Aurèle Oulès <aurele@oules.com> | 2023-04-26 16:07:47 +0200 |
commit | 710b83938ab5bbc4bd324d8b2e69461a2a1d2eec (patch) | |
tree | e78465394ff8286c4969d565209f18bd8252c5a3 /test/functional/wallet_orphanedreward.py | |
parent | 91ccb62faab21b2b52b089cc04f3a5c1bf6989cc (diff) | |
download | bitcoin-710b83938ab5bbc4bd324d8b2e69461a2a1d2eec.tar.xz |
rpc: return block hash & height in getbalances, gettransaction & getwalletinfo JSONs
Co-authored-by: Aurèle Oulès <aurele@oules.com>
Diffstat (limited to 'test/functional/wallet_orphanedreward.py')
-rwxr-xr-x | test/functional/wallet_orphanedreward.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/wallet_orphanedreward.py b/test/functional/wallet_orphanedreward.py index d8931fa620..451f8abb0a 100755 --- a/test/functional/wallet_orphanedreward.py +++ b/test/functional/wallet_orphanedreward.py @@ -65,7 +65,10 @@ class OrphanedBlockRewardTest(BitcoinTestFramework): assert_equal(self.nodes[0].getbestblockhash(), orig_chain_tip) self.generate(self.nodes[0], 3) - assert_equal(self.nodes[1].getbalances(), pre_reorg_conf_bals) + balances = self.nodes[1].getbalances() + del balances["lastprocessedblock"] + del pre_reorg_conf_bals["lastprocessedblock"] + assert_equal(balances, pre_reorg_conf_bals) assert_equal(self.nodes[1].gettransaction(txid)["details"][0]["abandoned"], True) |