Page MenuHomePhabricator

D2075.id5843.diff
No OneTemporary

D2075.id5843.diff

diff --git a/test/functional/bip65-cltv-p2p.py b/test/functional/bip65-cltv-p2p.py
--- a/test/functional/bip65-cltv-p2p.py
+++ b/test/functional/bip65-cltv-p2p.py
@@ -94,9 +94,12 @@
"Test that an invalid-according-to-CLTV transaction can still appear in a block")
spendtx = create_transaction(self.nodes[0], self.coinbase_blocks[0],
- self.nodeaddress, 1.0)
+ self.nodeaddress, 50.0)
cltv_invalidate(spendtx)
+ # Make sure the tx is valid
+ self.nodes[0].sendrawtransaction(bytes_to_hex_str(spendtx.serialize()))
+
tip = self.nodes[0].getbestblockhash()
block_time = self.nodes[0].getblockheader(tip)['mediantime'] + 1
block = create_block(int(tip, 16), create_coinbase(

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 26, 10:33 (5 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5573263
Default Alt Text
D2075.id5843.diff (820 B)

Event Timeline