aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-01-18 16:00:56 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-18 16:00:58 +0100
commite2ed57e61e4471465bce37da6756028a974a9068 (patch)
tree1f22ea501ef349a91ef9ba9f7d11eabb13d1656c
parente4e77ee55d8a041ab9922879522856f5f7903c58 (diff)
parent4a0487937877484f14476716c3643de7a31c32da (diff)
Merge pull request #7373
4a04879 Fix error in blockchain.py introduced in merge (Suhas Daftuar)
-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()