aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/mempool_reorg.py
diff options
context:
space:
mode:
authorBtcDrak <btcdrak@gmail.com>2016-08-26 23:24:23 +0100
committerBtcDrak <btcdrak@gmail.com>2016-12-08 20:12:00 +0000
commitc5c92c46fbe1ebc9ab411ae06d5416ff91f9f340 (patch)
tree5dab2d5a4c83d5862092b698ceaabd4581e26527 /qa/rpc-tests/mempool_reorg.py
parentdab207e4e694c6980336f59817d6c9af83a46fa2 (diff)
Update python tests for default tx version=2
Diffstat (limited to 'qa/rpc-tests/mempool_reorg.py')
-rwxr-xr-xqa/rpc-tests/mempool_reorg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/mempool_reorg.py b/qa/rpc-tests/mempool_reorg.py
index 301b094eb0..dd88aae4f2 100755
--- a/qa/rpc-tests/mempool_reorg.py
+++ b/qa/rpc-tests/mempool_reorg.py
@@ -55,7 +55,7 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
# Create a block-height-locked transaction which will be invalid after reorg
timelock_tx = self.nodes[0].createrawtransaction([{"txid": coinbase_txids[0], "vout": 0}], {node0_address: 49.99})
# Set the time lock
- timelock_tx = timelock_tx.replace("ffffffff", "11111111", 1)
+ timelock_tx = timelock_tx.replace("ffffffff", "11111191", 1)
timelock_tx = timelock_tx[:-8] + hex(self.nodes[0].getblockcount() + 2)[2:] + "000000"
timelock_tx = self.nodes[0].signrawtransaction(timelock_tx)["hex"]
assert_raises(JSONRPCException, self.nodes[0].sendrawtransaction, timelock_tx)