test: MiniWallet: add P2TR support and use it per default

This commit is contained in:
Sebastian Falbesoner
2021-10-27 11:18:57 +02:00
parent 4a2edf2bf7
commit 041abfebe4
6 changed files with 47 additions and 19 deletions

View File

@ -47,8 +47,8 @@ class ReplaceByFeeTest(BitcoinTestFramework):
def run_test(self):
self.wallet = MiniWallet(self.nodes[0])
# the pre-mined test framework chain contains coinbase outputs to the
# MiniWallet's default address ADDRESS_BCRT1_P2WSH_OP_TRUE in blocks
# 76-100 (see method BitcoinTestFramework._initialize_chain())
# MiniWallet's default address in blocks 76-100 (see method
# BitcoinTestFramework._initialize_chain())
self.wallet.rescan_utxos()
self.log.info("Running test simple doublespend...")