diff options
author | mruddy <mruddy@users.noreply.github.com> | 2016-04-04 22:21:00 +0000 |
---|---|---|
committer | mruddy <mruddy@users.noreply.github.com> | 2016-04-04 22:21:00 +0000 |
commit | 92107d574d35d803399ee4dc9d3a1fb6a82a9229 (patch) | |
tree | bdab712acb34ab5b23257b30acac4e6b20736a32 /qa | |
parent | a9149688f87cb790a600400abd9af72c3ee0c312 (diff) |
RPC: add versionHex in getblock and getblockheader JSON results; expand data in getblockchaininfo bip9_softforks field.
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/rpc-tests/blockchain.py | 1 |
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__': |