aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_cltv.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-24 17:55:58 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-06-21 16:45:16 -0400
commitfa89badf887dcc01e5bdece248b5e7d234fee227 (patch)
tree67297d1686f89e7f202979cdda735132f9a65bdf /test/functional/feature_cltv.py
parentfa9b4191609c3ef75e69d391eb91e4d5c1e0bcf5 (diff)
downloadbitcoin-fa89badf887dcc01e5bdece248b5e7d234fee227.tar.xz
test: Require standard txs in regtest
Diffstat (limited to 'test/functional/feature_cltv.py')
-rwxr-xr-xtest/functional/feature_cltv.py6
1 files changed, 5 insertions, 1 deletions
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