diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-20 22:18:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-20 22:18:07 +0800 |
commit | 75625801f597061076d1e5863f97c9ea12aa10e4 (patch) | |
tree | f45334ddc09a191c8dfe4e75f98f736bf67979f6 /miner | |
parent | ea9a549bbdc8377bca73f1417f2dc4a18396a382 (diff) | |
parent | a59cd94625f589bb167be7a9c4588ff959dcfc00 (diff) | |
download | dexon-75625801f597061076d1e5863f97c9ea12aa10e4.tar.gz dexon-75625801f597061076d1e5863f97c9ea12aa10e4.tar.zst dexon-75625801f597061076d1e5863f97c9ea12aa10e4.zip |
fixed merge
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() } |