fix for difficulty retarget
TODO: decide on fork block height and edit version.h + test on testnet!