aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_orphanedreward.py
diff options
context:
space:
mode:
authorHarris <brakmic@gmail.com>2020-04-27 10:45:03 +0200
committerAurèle Oulès <aurele@oules.com>2023-04-26 16:07:47 +0200
commit710b83938ab5bbc4bd324d8b2e69461a2a1d2eec (patch)
treee78465394ff8286c4969d565209f18bd8252c5a3 /test/functional/wallet_orphanedreward.py
parent91ccb62faab21b2b52b089cc04f3a5c1bf6989cc (diff)
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-xtest/functional/wallet_orphanedreward.py5
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)