Update miner.cpp

Fix For Pool mining