diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-05-31 19:18:04 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-05-31 19:18:04 +0200 |
commit | 0c2139a3f160d1d443460e4c5928109a6ab8cd11 (patch) | |
tree | 016ad69427dc75a7c664234b3f82bfddb5e3a9fb /test | |
parent | 11225905b722a53fcfc25b73e779c2b5217849bc (diff) | |
download | bitcoin-0c2139a3f160d1d443460e4c5928109a6ab8cd11.tar.xz |
test: fix typo in feature_cltv.py (s/ctlv/cltv/)
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/feature_cltv.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/feature_cltv.py b/test/functional/feature_cltv.py index d25aaa070d..1f8e3e6645 100755 --- a/test/functional/feature_cltv.py +++ b/test/functional/feature_cltv.py @@ -111,17 +111,17 @@ class BIP65Test(BitcoinTestFramework): self.log.info("Test that invalid-according-to-CLTV transactions can still appear in a block") # create one invalid tx per CLTV failure reason (5 in total) and collect them - invalid_ctlv_txs = [] + invalid_cltv_txs = [] for i in range(5): spendtx = wallet.create_self_transfer(from_node=self.nodes[0])['tx'] spendtx = cltv_invalidate(self.nodes[0], spendtx, i) - invalid_ctlv_txs.append(spendtx) + invalid_cltv_txs.append(spendtx) tip = self.nodes[0].getbestblockhash() block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1 block = create_block(int(tip, 16), create_coinbase(CLTV_HEIGHT - 1), block_time) block.nVersion = 3 - block.vtx.extend(invalid_ctlv_txs) + block.vtx.extend(invalid_cltv_txs) block.hashMerkleRoot = block.calc_merkle_root() block.solve() |