aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 00:55:23 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 00:55:23 +0800
commit313fe3861b3c338b3b6304adac46c86af7e2d52e (patch)
treee19ace3d9fd0b8f8fe67e5f0fb934cfd407b5664 /miner/worker.go
parent22b132e28f74cabef38a55874da8e3db93786144 (diff)
downloadgo-tangerine-313fe3861b3c338b3b6304adac46c86af7e2d52e.tar.gz
go-tangerine-313fe3861b3c338b3b6304adac46c86af7e2d52e.tar.zst
go-tangerine-313fe3861b3c338b3b6304adac46c86af7e2d52e.zip
fixed pow stuff
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 201367fdf..fe80b63ee 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -146,6 +146,7 @@ func (self *worker) wait() {
self.current.block.Header().Nonce = work.Nonce
self.current.block.Header().MixDigest = work.MixDigest
self.current.block.Header().SeedHash = work.SeedHash
+ fmt.Println(self.current.block)
if err := self.chain.InsertChain(types.Blocks{self.current.block}); err == nil {
self.mux.Post(core.NewMinedBlockEvent{self.current.block})