diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-01 17:28:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-01 17:28:11 +0800 |
commit | 41a03b29ab2a1808d17a7035a261796bba588e4e (patch) | |
tree | 8b905e18a1955251002261439b70f75e51e8de29 | |
parent | 328ee9a3ecb0e49f229eac5773c3a516cc4e17ce (diff) | |
parent | 0ed9528d760028acda6333269423eab775026685 (diff) | |
download | dexon-41a03b29ab2a1808d17a7035a261796bba588e4e.tar.gz dexon-41a03b29ab2a1808d17a7035a261796bba588e4e.tar.zst dexon-41a03b29ab2a1808d17a7035a261796bba588e4e.zip |
Merge branch 'ebuchman-miner_up_to_date' into develop
-rw-r--r-- | utils/cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cmd.go b/utils/cmd.go index 1d97c9639..db5db0d2c 100644 --- a/utils/cmd.go +++ b/utils/cmd.go @@ -204,7 +204,7 @@ 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 { + for !ethereum.IsUpToDate() { time.Sleep(5 * time.Second) } |