aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2016-01-18 09:17:48 -0500
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-18 16:01:31 +0100
commit51af87f0786d3a0c9fbff84a9648781138ab84c3 (patch)
tree7f2696f33fde17606241e7c5f087d035f08b381f
parent351ffd8482ff812e6b464c870bb4b0bff85e3884 (diff)
Fix error in blockchain.py introduced in merge
Github-Pull: #7373 Rebased-From: 4a0487937877484f14476716c3643de7a31c32da
-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()