Browse Source
change is no-op as the compact nBits form of both values are equal, that is: ``` >>> from electrum.blockchain import Blockchain >>> MAX_TARGET1 = 0x00000000FFFF0000000000000000000000000000000000000000000000000000 >>> MAX_TARGET2 = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff >>> Blockchain.bits_to_target(Blockchain.target_to_bits(MAX_TARGET2)) == Blockchain.bits_to_target(Blockchain.target_to_bits(MAX_TARGET1)) True ```patch-4
SomberNight
3 years ago
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue