mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
Fix error in blockchain.py introduced in merge
This commit is contained in:
parent
e4e77ee55d
commit
4a04879378
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user