Revert "Update miner.cpp"

This reverts commit 87e648d63d335c7326cbd9b709a2f4e22e7b0767.
Revert "Update main.cpp"

This reverts commit c54fb6406db0ac7bf7c14aaddf11fd15da19f217.