aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-07-01 22:01:28 +0800
committerzelig <viktor.tron@gmail.com>2014-07-01 22:01:28 +0800
commitce88a73aa6e695a0b672da2d01baf14f03d514b0 (patch)
tree6d50a032f70e1b3709f47403fcc793e52ac9b4c9
parent098f7f23ce62d3f0c60d30d325576de93795cc4b (diff)
parent41a03b29ab2a1808d17a7035a261796bba588e4e (diff)
downloaddexon-ce88a73aa6e695a0b672da2d01baf14f03d514b0.tar.gz
dexon-ce88a73aa6e695a0b672da2d01baf14f03d514b0.tar.zst
dexon-ce88a73aa6e695a0b672da2d01baf14f03d514b0.zip
Merge branch 'develop' of github.com:ethereum/go-ethereum into feature/keys
-rw-r--r--utils/cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cmd.go b/utils/cmd.go
index dc435a700..7b2ac0e40 100644
--- a/utils/cmd.go
+++ b/utils/cmd.go
@@ -208,7 +208,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)
}