aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/blockchain.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/blockchain.py')
-rwxr-xr-xqa/rpc-tests/blockchain.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/rpc-tests/blockchain.py b/qa/rpc-tests/blockchain.py
index 272a5dc154..8f59ee741c 100755
--- a/qa/rpc-tests/blockchain.py
+++ b/qa/rpc-tests/blockchain.py
@@ -82,6 +82,7 @@ class BlockchainTest(BitcoinTestFramework):
assert isinstance(header['mediantime'], int)
assert isinstance(header['nonce'], int)
assert isinstance(header['version'], int)
+ assert isinstance(int(header['versionHex'], 16), int)
assert isinstance(header['difficulty'], Decimal)
if __name__ == '__main__':