diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 04:04:31 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 04:04:31 +0800 |
commit | 26de12d9bf23bce7de26b3b6629601ec2e58ad5b (patch) | |
tree | 0d4b76fcb717049d988b7f283967f43dc5517a5e /miner/agent.go | |
parent | e9f1e868e2bc0205d0b7655cd07fcaba9b2bc97d (diff) | |
download | dexon-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.tar.gz dexon-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.tar.zst dexon-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.zip |
Changed nonce to a uint64
Diffstat (limited to 'miner/agent.go')
-rw-r--r-- | miner/agent.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/agent.go b/miner/agent.go index 6c21d8015..6865d5a08 100644 --- a/miner/agent.go +++ b/miner/agent.go @@ -75,7 +75,7 @@ done: func (self *CpuMiner) mine(block *types.Block) { minerlogger.Infof("(re)started agent[%d]. mining...\n", self.index) nonce, mixDigest, seedHash := self.pow.Search(block, self.quitCurrentOp) - if nonce != nil { + if nonce != 0 { self.returnCh <- Work{block.Number().Uint64(), nonce, mixDigest, seedHash} } } |