Commit 41a03b29 authored by obscuren's avatar obscuren

Merge branch 'ebuchman-miner_up_to_date' into develop

parents 328ee9a3 0ed9528d
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment