aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/bip65-cltv-p2p.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-03-20 18:18:32 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-04-01 21:23:30 +0200
commitfa2cea163b49a97e2a18aa125e41170d60ce59cc (patch)
tree02d1c4fc64dfb2d72e2efb12a4b63392085a9036 /qa/rpc-tests/bip65-cltv-p2p.py
parentfa524d9ddbad0a03f9eb974100fb3b6001045645 (diff)
downloadbitcoin-fa2cea163b49a97e2a18aa125e41170d60ce59cc.tar.xz
[qa] rpc-tests: Properly use integers, floats
Diffstat (limited to 'qa/rpc-tests/bip65-cltv-p2p.py')
-rwxr-xr-xqa/rpc-tests/bip65-cltv-p2p.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/bip65-cltv-p2p.py b/qa/rpc-tests/bip65-cltv-p2p.py
index 316c5fe090..54559c3541 100755
--- a/qa/rpc-tests/bip65-cltv-p2p.py
+++ b/qa/rpc-tests/bip65-cltv-p2p.py
@@ -70,7 +70,7 @@ class BIP65Test(ComparisonTestFramework):
height = 3 # height of the next block to build
self.tip = int ("0x" + self.nodes[0].getbestblockhash() + "L", 0)
self.nodeaddress = self.nodes[0].getnewaddress()
- self.last_block_time = time.time()
+ self.last_block_time = int(time.time())
''' 98 more version 3 blocks '''
test_blocks = []