aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-21 01:14:53 +0800
committerobscuren <geffobscura@gmail.com>2015-02-21 01:14:53 +0800
commit703dc8299c2a1c6956812b48c544300f23e4f22b (patch)
tree46ab5943fd5e26198067aeec4a44287452eb2a32 /miner/worker.go
parent66d5559866f37a79a7b5aeccd03dfe1b4401542b (diff)
parentd586a633ff005ac01c9f1eb33552d147cf6c883e (diff)
downloaddexon-703dc8299c2a1c6956812b48c544300f23e4f22b.tar
dexon-703dc8299c2a1c6956812b48c544300f23e4f22b.tar.gz
dexon-703dc8299c2a1c6956812b48c544300f23e4f22b.tar.bz2
dexon-703dc8299c2a1c6956812b48c544300f23e4f22b.tar.lz
dexon-703dc8299c2a1c6956812b48c544300f23e4f22b.tar.xz
dexon-703dc8299c2a1c6956812b48c544300f23e4f22b.tar.zst
dexon-703dc8299c2a1c6956812b48c544300f23e4f22b.zip
Merge branch 'release/0.9.0' into develop
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/miner/worker.go b/miner/worker.go
index aea5cc535..1f3a52ab5 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -117,11 +117,9 @@ 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()
}