diff options
Diffstat (limited to 'miner')
-rw-r--r-- | miner/worker.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go index 1f3a52ab5..aea5cc535 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -117,9 +117,11 @@ out: case event := <-events.Chan(): switch ev := event.(type) { case core.ChainEvent: + println("miner start") if self.current.block != ev.Block { self.commitNewWork() } + println("miner end") case core.NewMinedBlockEvent: self.commitNewWork() } |