mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
Merge bitcoin/bitcoin#23474: test: scripted-diff cleanups after generate* changes
fac23c2114scripted-diff: Bump copyright headers (MarcoFalke)fa974f1f14scripted-diff: Remove redundant sync_all and sync_blocks (MarcoFalke)fad13991aetest: Properly set sync_fun in NodeNetworkLimitedTest (MarcoFalke)faeff57709test: Use 4 spaces for indentation (MarcoFalke) Pull request description: Some cleanups after commit94db963de5ACKs for top commit: fanquake: ACKfac23c2114Tree-SHA512: 5acfd5bb9679b41969d0fc6fc85801ccadcd6530ea692bac6352668e06fc7a9b0e1db3fd6fba435e84afe983d2eb07bd0a47c8364462bb7110004bd3d102b698
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2014-2020 The Bitcoin Core developers
|
||||
# Copyright (c) 2014-2021 The Bitcoin Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
"""Test gettxoutproof and verifytxoutproof RPCs."""
|
||||
@@ -31,7 +31,6 @@ class MerkleBlockTest(BitcoinTestFramework):
|
||||
# Add enough mature utxos to the wallet, so that all txs spend confirmed coins
|
||||
self.generate(miniwallet, 5)
|
||||
self.generate(self.nodes[0], COINBASE_MATURITY)
|
||||
self.sync_all()
|
||||
|
||||
chain_height = self.nodes[1].getblockcount()
|
||||
assert_equal(chain_height, 105)
|
||||
@@ -57,7 +56,6 @@ class MerkleBlockTest(BitcoinTestFramework):
|
||||
tx3 = miniwallet.send_self_transfer(from_node=self.nodes[0], utxo_to_spend=txin_spent)
|
||||
txid3 = tx3['txid']
|
||||
self.generate(self.nodes[0], 1)
|
||||
self.sync_all()
|
||||
|
||||
txid_spent = txin_spent["txid"]
|
||||
txid_unspent = txid1 # Input was change from txid2, so txid1 should be unspent
|
||||
|
||||
Reference in New Issue
Block a user