From fa89badf887dcc01e5bdece248b5e7d234fee227 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 24 Apr 2019 17:55:58 -0400 Subject: test: Require standard txs in regtest --- test/functional/feature_cltv.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/functional/feature_cltv.py') diff --git a/test/functional/feature_cltv.py b/test/functional/feature_cltv.py index b16eafccca..ef038ff2fa 100755 --- a/test/functional/feature_cltv.py +++ b/test/functional/feature_cltv.py @@ -57,7 +57,11 @@ def cltv_validate(node, tx, height): class BIP65Test(BitcoinTestFramework): def set_test_params(self): self.num_nodes = 1 - self.extra_args = [['-whitelist=127.0.0.1', '-par=1']] # Use only one script thread to get the exact reject reason for testing + self.extra_args = [[ + '-whitelist=127.0.0.1', + '-par=1', # Use only one script thread to get the exact reject reason for testing + '-acceptnonstdtxn=1', # cltv_invalidate is nonstandard + ]] self.setup_clean_chain = True self.rpc_timeout = 120 -- cgit v1.2.3