Update miner.cpp

miner v4