Update Miner.cs

pretest condition 1