Fix internal wallet miner.