aboutsummaryrefslogtreecommitdiffstats
path: root/miner/agent.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 00:55:29 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 00:55:29 +0800
commit53b5a45856c5d4c307dc55b4ae1b46efd9471142 (patch)
tree56eb1f936610cc461742d2bb08431e304870e85a /miner/agent.go
parentb0aaa77f0213cb525a873c3bea92e8a06cff423f (diff)
parent313fe3861b3c338b3b6304adac46c86af7e2d52e (diff)
downloadgo-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.tar
go-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.tar.gz
go-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.tar.bz2
go-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.tar.lz
go-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.tar.xz
go-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.tar.zst
go-tangerine-53b5a45856c5d4c307dc55b4ae1b46efd9471142.zip
Merge branch 'xcthulhu-publictests' into poc-9
Diffstat (limited to 'miner/agent.go')
-rw-r--r--miner/agent.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/miner/agent.go b/miner/agent.go
index 9046f5d5a..5b2bfdb06 100644
--- a/miner/agent.go
+++ b/miner/agent.go
@@ -69,8 +69,8 @@ done:
func (self *CpuMiner) mine(block *types.Block) {
minerlogger.Infof("(re)started agent[%d]. mining...\n", self.index)
- nonce := self.pow.Search(block, self.quitCurrentOp)
+ nonce, mixDigest, seedHash := self.pow.Search(block, self.quitCurrentOp)
if nonce != nil {
- self.returnCh <- Work{block.Number().Uint64(), nonce}
+ self.returnCh <- Work{block.Number().Uint64(), nonce, mixDigest, seedHash}
}
}