diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 04:48:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 04:48:05 +0800 |
commit | d4d505c868fcd0f692ec3573bd6cfcb1c5230fe2 (patch) | |
tree | e4054e8c8b26f388d3455c2890a36b9834cbdeab /miner | |
parent | 08fd0715f9504edcc81029ffebee794b06fe4653 (diff) | |
download | dexon-d4d505c868fcd0f692ec3573bd6cfcb1c5230fe2.tar.gz dexon-d4d505c868fcd0f692ec3573bd6cfcb1c5230fe2.tar.zst dexon-d4d505c868fcd0f692ec3573bd6cfcb1c5230fe2.zip |
Fixed genesis
Diffstat (limited to 'miner')
-rw-r--r-- | miner/worker.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go index 8904c9973..38fc81ea5 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -151,7 +151,7 @@ func (self *worker) wait() { // Someone Successfully Mined! block := self.current.block if block.Number().Uint64() == work.Number && block.Nonce() == 0 { - self.current.block.Header().Nonce = work.Nonce + self.current.block.SetNonce(work.Nonce) self.current.block.Header().MixDigest = work.MixDigest self.current.block.Header().SeedHash = work.SeedHash |