Fixed bug in GetProofOfWorkReward