aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-04 23:45:18 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-05 21:14:31 +0800
commitbcc1660abc1c0a5ef838dea89e4f3830d84fb51c (patch)
tree67806e8069fbfc8c192daababed71f4e158176a6 /miner/worker.go
parent9c3db1be1dd24c366a58a7ced22adfa0b0839efe (diff)
downloaddexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar
dexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.gz
dexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.bz2
dexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.lz
dexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.xz
dexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.zst
dexon-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.zip
core, miner, tests: added test, implemented bad block reporting
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 1615ff84b..c28258799 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -298,8 +298,6 @@ func (self *worker) push() {
if agent.Work() != nil {
agent.Work() <- self.current.block
- } else {
- common.Report(fmt.Sprintf("%v %T\n", agent, agent))
}
}
}