diff options
author | fanquake <fanquake@gmail.com> | 2021-11-16 10:44:06 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-11-16 11:22:06 +0800 |
commit | ffdab41f94521dc87e68a160546af55355340af5 (patch) | |
tree | 9040f47fe6bff569f940a8bcae23aec77f4643c4 /test/functional/wallet_orphanedreward.py | |
parent | 0475a2378bbfbc96b60e1bb8e816533e0e7a9e5d (diff) | |
parent | fac23c211407a77af82bb1491c48c8d37022c8b3 (diff) | |
download | bitcoin-ffdab41f94521dc87e68a160546af55355340af5.tar.xz |
Merge bitcoin/bitcoin#23474: test: scripted-diff cleanups after generate* changes
fac23c211407a77af82bb1491c48c8d37022c8b3 scripted-diff: Bump copyright headers (MarcoFalke)
fa974f1f1417a536636347072e86bcb54a4c909c scripted-diff: Remove redundant sync_all and sync_blocks (MarcoFalke)
fad13991aea6463ecf07dd907de1c1b23837d7e7 test: Properly set sync_fun in NodeNetworkLimitedTest (MarcoFalke)
faeff577093c4de9eec9491486a2c3766d46dae6 test: Use 4 spaces for indentation (MarcoFalke)
Pull request description:
Some cleanups after commit 94db963de501e4aba6e5d8150a01ceb85753dee1
ACKs for top commit:
fanquake:
ACK fac23c211407a77af82bb1491c48c8d37022c8b3
Tree-SHA512: 5acfd5bb9679b41969d0fc6fc85801ccadcd6530ea692bac6352668e06fc7a9b0e1db3fd6fba435e84afe983d2eb07bd0a47c8364462bb7110004bd3d102b698
Diffstat (limited to 'test/functional/wallet_orphanedreward.py')
-rwxr-xr-x | test/functional/wallet_orphanedreward.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/functional/wallet_orphanedreward.py b/test/functional/wallet_orphanedreward.py index ff1d1bd49b..7295db4653 100755 --- a/test/functional/wallet_orphanedreward.py +++ b/test/functional/wallet_orphanedreward.py @@ -26,12 +26,10 @@ class OrphanedBlockRewardTest(BitcoinTestFramework): # it later. self.sync_blocks() blk = self.generate(self.nodes[1], 1)[0] - self.sync_blocks() # Let the block reward mature and send coins including both # the existing balance and the block reward. self.generate(self.nodes[0], 150) - self.sync_blocks() assert_equal(self.nodes[1].getbalance(), 10 + 25) txid = self.nodes[1].sendtoaddress(self.nodes[0].getnewaddress(), 30) @@ -39,7 +37,6 @@ class OrphanedBlockRewardTest(BitcoinTestFramework): # from the wallet can still be spent. self.nodes[0].invalidateblock(blk) self.generate(self.nodes[0], 152) - self.sync_blocks() # Without the following abandontransaction call, the coins are # not considered available yet. assert_equal(self.nodes[1].getbalances()["mine"], { |