aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_csv_activation.py
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-07-26 00:33:58 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-07-27 00:14:57 +0200
commit12f094ec215aacf30e4e380c0399f80d4e45c345 (patch)
treec7a82daf4a3b2e84350871bc985b79477d78c213 /test/functional/feature_csv_activation.py
parent746f203f1950a7df50b9a7de87a361cc7354ffb4 (diff)
downloadbitcoin-12f094ec215aacf30e4e380c0399f80d4e45c345.tar.xz
test: use constants for CSV/CLTV activation heights in rpc_signrawtransaction
Diffstat (limited to 'test/functional/feature_csv_activation.py')
-rwxr-xr-xtest/functional/feature_csv_activation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_csv_activation.py b/test/functional/feature_csv_activation.py
index 5081867319..1ac1a0563f 100755
--- a/test/functional/feature_csv_activation.py
+++ b/test/functional/feature_csv_activation.py
@@ -41,6 +41,7 @@ from itertools import product
import time
from test_framework.blocktools import (
+ CSV_ACTIVATION_HEIGHT,
create_block,
create_coinbase,
)
@@ -63,7 +64,6 @@ from test_framework.wallet import (
TESTING_TX_COUNT = 83 # Number of testing transactions: 1 BIP113 tx, 16 BIP68 txs, 66 BIP112 txs (see comments above)
COINBASE_BLOCK_COUNT = TESTING_TX_COUNT # Number of coinbase blocks we need to generate as inputs for our txs
BASE_RELATIVE_LOCKTIME = 10
-CSV_ACTIVATION_HEIGHT = 432
SEQ_DISABLE_FLAG = 1 << 31
SEQ_RANDOM_HIGH_BIT = 1 << 25
SEQ_TYPE_FLAG = 1 << 22