diff options
author | Anthony Towns <aj@erisian.com.au> | 2023-12-15 16:11:11 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2023-12-15 18:37:29 +1000 |
commit | 7b45744df33c6a4759eae1a3984f389cbac837c2 (patch) | |
tree | ddbab9c99e26045a332ede565f8a7600d644c260 /test/functional/mempool_dust.py | |
parent | 7dfabdcf860c529772a54b0e8fa235cbb4a78b4d (diff) | |
download | bitcoin-7b45744df33c6a4759eae1a3984f389cbac837c2.tar.xz |
tests: ensure functional tests set permitbaremultisig=1 when needed
The mempool_dust and mempool_sigoplimits functional tests both use bare
multisig txs, so ensure they're allowed by policy.
Diffstat (limited to 'test/functional/mempool_dust.py')
-rwxr-xr-x | test/functional/mempool_dust.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/mempool_dust.py b/test/functional/mempool_dust.py index f4e385a112..e0c026207a 100755 --- a/test/functional/mempool_dust.py +++ b/test/functional/mempool_dust.py @@ -40,6 +40,7 @@ DUST_RELAY_TX_FEE = 3000 # default setting [sat/kvB] class DustRelayFeeTest(BitcoinTestFramework): def set_test_params(self): self.num_nodes = 1 + self.extra_args = [['-permitbaremultisig']] def test_dust_output(self, node: TestNode, dust_relay_fee: Decimal, output_script: CScript, type_desc: str) -> None: @@ -101,7 +102,7 @@ class DustRelayFeeTest(BitcoinTestFramework): else: dust_parameter = f"-dustrelayfee={dustfee_btc_kvb:.8f}" self.log.info(f"Test dust limit setting {dust_parameter} ({dustfee_sat_kvb} sat/kvB)...") - self.restart_node(0, extra_args=[dust_parameter]) + self.restart_node(0, extra_args=[dust_parameter, "-permitbaremultisig"]) for output_script, description in output_scripts: self.test_dust_output(self.nodes[0], dustfee_btc_kvb, output_script, description) |