diff options
-rw-r--r-- | utils/cmd.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/utils/cmd.go b/utils/cmd.go index f163575da..28597194f 100644 --- a/utils/cmd.go +++ b/utils/cmd.go @@ -34,11 +34,10 @@ func DoMining(ethereum *eth.Ethereum) { // Give it some time to connect with peers time.Sleep(3 * time.Second) - /* - for ethereum.IsUpToDate() == false { - time.Sleep(5 * time.Second) - } - */ + for ethereum.IsUpToDate() == false { + time.Sleep(5 * time.Second) + } + ethutil.Config.Log.Infoln("Miner started") miner := ethminer.NewDefaultMiner(addr, ethereum) |