diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-23 19:30:30 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-23 19:30:30 +0800 |
commit | 34284b7532e753b7fe67a11d8fe19ba4afd9066f (patch) | |
tree | 59e13724f8a612b0ee8ffe6c24a3e9b4d573be36 /utils/cmd.go | |
parent | 1024766514eea7bb628ec6e5ed974e997b8faefc (diff) | |
parent | 176b7802510a667b8973f2be232f7a8213b3474b (diff) | |
download | dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.gz dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.bz2 dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.lz dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.xz dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.tar.zst dexon-34284b7532e753b7fe67a11d8fe19ba4afd9066f.zip |
merge upstream
Diffstat (limited to 'utils/cmd.go')
-rw-r--r-- | utils/cmd.go | 3 |
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() |