aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-23 19:30:30 +0800
committerzelig <viktor.tron@gmail.com>2014-06-23 19:30:30 +0800
commit34284b7532e753b7fe67a11d8fe19ba4afd9066f (patch)
tree59e13724f8a612b0ee8ffe6c24a3e9b4d573be36 /utils
parent1024766514eea7bb628ec6e5ed974e997b8faefc (diff)
parent176b7802510a667b8973f2be232f7a8213b3474b (diff)
downloadgo-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar
go-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.gz
go-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.bz2
go-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.lz
go-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.xz
go-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.zst
go-tangerine-34284b7532e753b7fe67a11d8fe19ba4afd9066f.zip
merge upstream
Diffstat (limited to 'utils')
-rw-r--r--utils/cmd.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/cmd.go b/utils/cmd.go
index 39233d586..8bc9c63fa 100644
--- a/utils/cmd.go
+++ b/utils/cmd.go
@@ -198,9 +198,6 @@ func StartMining(ethereum *eth.Ethereum) bool {
miner = ethminer.NewDefaultMiner(addr, ethereum)
// Give it some time to connect with peers
time.Sleep(3 * time.Second)
- for ethereum.IsUpToDate() == false {
- time.Sleep(5 * time.Second)
- }
logger.Infoln("Miner started")
miner := ethminer.NewDefaultMiner(addr, ethereum)
miner.Start()