miner Reward func fixed