Skip to content

Commit 0c2139a

Browse files
committed
test: fix typo in feature_cltv.py (s/ctlv/cltv/)
1 parent 1122590 commit 0c2139a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/feature_cltv.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,17 @@ def run_test(self):
111111
self.log.info("Test that invalid-according-to-CLTV transactions can still appear in a block")
112112

113113
# create one invalid tx per CLTV failure reason (5 in total) and collect them
114-
invalid_ctlv_txs = []
114+
invalid_cltv_txs = []
115115
for i in range(5):
116116
spendtx = wallet.create_self_transfer(from_node=self.nodes[0])['tx']
117117
spendtx = cltv_invalidate(self.nodes[0], spendtx, i)
118-
invalid_ctlv_txs.append(spendtx)
118+
invalid_cltv_txs.append(spendtx)
119119

120120
tip = self.nodes[0].getbestblockhash()
121121
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
122122
block = create_block(int(tip, 16), create_coinbase(CLTV_HEIGHT - 1), block_time)
123123
block.nVersion = 3
124-
block.vtx.extend(invalid_ctlv_txs)
124+
block.vtx.extend(invalid_cltv_txs)
125125
block.hashMerkleRoot = block.calc_merkle_root()
126126
block.solve()
127127

0 commit comments

Comments
 (0)