Update Miner.cs

firsts and lasts sets