diff options
| author | MarcoFalke <[email protected]> | 2016-03-20 18:18:32 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-04-01 21:23:30 +0200 |
| commit | fa2cea163b49a97e2a18aa125e41170d60ce59cc (patch) | |
| tree | 02d1c4fc64dfb2d72e2efb12a4b63392085a9036 /qa/rpc-tests/p2p-acceptblock.py | |
| parent | [qa] Use python2/3 syntax (diff) | |
| download | discoin-fa2cea163b49a97e2a18aa125e41170d60ce59cc.tar.xz discoin-fa2cea163b49a97e2a18aa125e41170d60ce59cc.zip | |
[qa] rpc-tests: Properly use integers, floats
Diffstat (limited to 'qa/rpc-tests/p2p-acceptblock.py')
| -rwxr-xr-x | qa/rpc-tests/p2p-acceptblock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/p2p-acceptblock.py b/qa/rpc-tests/p2p-acceptblock.py index bf355780c..e429fcc5f 100755 --- a/qa/rpc-tests/p2p-acceptblock.py +++ b/qa/rpc-tests/p2p-acceptblock.py @@ -150,7 +150,7 @@ class AcceptBlockTest(BitcoinTestFramework): # 2. Send one block that builds on each tip. # This should be accepted. blocks_h2 = [] # the height 2 blocks on each node's chain - block_time = time.time() + 1 + block_time = int(time.time()) + 1 for i in xrange(2): blocks_h2.append(create_block(tips[i], create_coinbase(2), block_time)) blocks_h2[i].solve() |