aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-23 17:28:05 +0800
committerobscuren <geffobscura@gmail.com>2014-06-23 17:28:05 +0800
commit176b7802510a667b8973f2be232f7a8213b3474b (patch)
tree69c4a90ee0c6c562d1a85ab30a96511dca0af878 /utils
parent2408e38218d81c567bdaa4671a542a20c55490b9 (diff)
downloadgo-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.tar
go-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.tar.gz
go-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.tar.bz2
go-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.tar.lz
go-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.tar.xz
go-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.tar.zst
go-tangerine-176b7802510a667b8973f2be232f7a8213b3474b.zip
Added a execBlock method which replays the given block
Diffstat (limited to 'utils')
-rw-r--r--utils/cmd.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/cmd.go b/utils/cmd.go
index e1fc0fc00..e66bb2612 100644
--- a/utils/cmd.go
+++ b/utils/cmd.go
@@ -38,9 +38,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)
+ }
+ */
ethutil.Config.Log.Infoln("Miner started")