aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cmd.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-17 21:15:46 +0800
committerobscuren <geffobscura@gmail.com>2014-05-17 21:15:46 +0800
commit770808ce0d44cadfedbe01694c836be2eaf0e82c (patch)
treef79310a0ea409805897d738f2c2fb7aa5d597355 /utils/cmd.go
parent2ac292dc7ada20d64188b9d35f23600e4642021b (diff)
downloaddexon-770808ce0d44cadfedbe01694c836be2eaf0e82c.tar.gz
dexon-770808ce0d44cadfedbe01694c836be2eaf0e82c.tar.zst
dexon-770808ce0d44cadfedbe01694c836be2eaf0e82c.zip
Readline repl for linux & osx
Diffstat (limited to 'utils/cmd.go')
-rw-r--r--utils/cmd.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/cmd.go b/utils/cmd.go
index 8395ac8fc..62e8f31dc 100644
--- a/utils/cmd.go
+++ b/utils/cmd.go
@@ -35,9 +35,11 @@ func DoMining(ethereum *eth.Ethereum) {
// Give it some time to connect with peers
time.Sleep(3 * time.Second)
- for ethereum.IsUpToDate() == false {
- time.Sleep(5 * time.Second)
- }
+ /*
+ for ethereum.IsUpToDate() == false {
+ time.Sleep(5 * time.Second)
+ }
+ */
log.Println("Miner started")
miner := ethminer.NewDefaultMiner(addr, ethereum)