diff --git a/utils/cmd.go b/utils/cmd.go index 1b3f9694c8..b71f3f358b 100644 --- a/utils/cmd.go +++ b/utils/cmd.go @@ -10,7 +10,6 @@ import ( "path/filepath" "regexp" "runtime" - "time" "bitbucket.org/kardianos/osext" "github.com/ethereum/eth-go" @@ -267,11 +266,6 @@ func StartMining(ethereum *eth.Ethereum) bool { if miner == nil { miner = ethminer.NewDefaultMiner(addr, ethereum) } - // Give it some time to connect with peers - time.Sleep(3 * time.Second) - for !ethereum.IsUpToDate() { - time.Sleep(5 * time.Second) - } miner.Start() }() RegisterInterrupt(func(os.Signal) {