[qa] rpc-tests: Properly use integers, floats

This commit is contained in:
MarcoFalke
2016-03-20 18:18:32 +01:00
parent fa524d9ddb
commit fa2cea163b
15 changed files with 45 additions and 45 deletions

View File

@@ -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()