diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 00:20:34 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 00:20:34 +0800 |
commit | 22b132e28f74cabef38a55874da8e3db93786144 (patch) | |
tree | 2ae0e114e8aaf7dfba259c5e64979575bec4004b /miner/agent.go | |
parent | ee0a1bec6c3ce942e51265535961ac6a745d33eb (diff) | |
parent | de9f79133faa1ff5dcd16fb4fd13d06b7799ded9 (diff) | |
download | dexon-22b132e28f74cabef38a55874da8e3db93786144.tar.gz dexon-22b132e28f74cabef38a55874da8e3db93786144.tar.zst dexon-22b132e28f74cabef38a55874da8e3db93786144.zip |
Merge branch 'publictests' of https://github.com/xcthulhu/go-ethereum into xcthulhu-publictests
Diffstat (limited to 'miner/agent.go')
-rw-r--r-- | miner/agent.go | 4 |
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} } } |