aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-21 01:05:46 +0800
committerobscuren <geffobscura@gmail.com>2015-02-21 01:05:46 +0800
commitcc43ab9a810125239636143a91609389b19b49c7 (patch)
tree5048e68a9df2a713f1b28102215567a4779aed83 /miner
parent66d5559866f37a79a7b5aeccd03dfe1b4401542b (diff)
downloaddexon-cc43ab9a810125239636143a91609389b19b49c7.tar
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.gz
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.bz2
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.lz
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.xz
dexon-cc43ab9a810125239636143a91609389b19b49c7.tar.zst
dexon-cc43ab9a810125239636143a91609389b19b49c7.zip
Minor updates for release
Diffstat (limited to 'miner')
-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()
}