aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2016-01-18 09:17:48 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2016-01-18 09:17:48 -0500
commit4a0487937877484f14476716c3643de7a31c32da (patch)
tree1f22ea501ef349a91ef9ba9f7d11eabb13d1656c /qa
parente4e77ee55d8a041ab9922879522856f5f7903c58 (diff)
Fix error in blockchain.py introduced in merge
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/blockchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/blockchain.py b/qa/rpc-tests/blockchain.py
index daf6fb57a1..b0fc7b0172 100755
--- a/qa/rpc-tests/blockchain.py
+++ b/qa/rpc-tests/blockchain.py
@@ -80,7 +80,7 @@ class BlockchainTest(BitcoinTestFramework):
assert isinstance(header['mediantime'], int)
assert isinstance(header['nonce'], int)
assert isinstance(header['version'], int)
- assert isinstance(header['difficulty'], decimal.Decimal)
+ assert isinstance(header['difficulty'], Decimal)
if __name__ == '__main__':
BlockchainTest().main()