aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_sigoplimit.py
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-12-15 16:11:11 +1000
committerAnthony Towns <aj@erisian.com.au>2023-12-15 18:37:29 +1000
commit7b45744df33c6a4759eae1a3984f389cbac837c2 (patch)
treeddbab9c99e26045a332ede565f8a7600d644c260 /test/functional/mempool_sigoplimit.py
parent7dfabdcf860c529772a54b0e8fa235cbb4a78b4d (diff)
downloadbitcoin-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_sigoplimit.py')
-rwxr-xr-xtest/functional/mempool_sigoplimit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mempool_sigoplimit.py b/test/functional/mempool_sigoplimit.py
index fbec6d0dc8..d1e8ed0c64 100755
--- a/test/functional/mempool_sigoplimit.py
+++ b/test/functional/mempool_sigoplimit.py
@@ -140,7 +140,7 @@ class BytesPerSigOpTest(BitcoinTestFramework):
self.log.info("Test a overly-large sigops-vbyte hits package limits")
# Make a 2-transaction package which fails vbyte checks even though
# separately they would work.
- self.restart_node(0, extra_args=["-bytespersigop=5000"] + self.extra_args[0])
+ self.restart_node(0, extra_args=["-bytespersigop=5000","-permitbaremultisig=1"] + self.extra_args[0])
def create_bare_multisig_tx(utxo_to_spend=None):
_, pubkey = generate_keypair()