[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

@@ -177,7 +177,7 @@ class MaxUploadTest(BitcoinTestFramework):
max_bytes_per_day = 200*1024*1024
daily_buffer = 144 * MAX_BLOCK_SIZE
max_bytes_available = max_bytes_per_day - daily_buffer
success_count = max_bytes_available / old_block_size
success_count = max_bytes_available // old_block_size
# 144MB will be reserved for relaying new blocks, so expect this to
# succeed for ~70 tries.