Fixed genesis

This commit is contained in:
obscuren
2015-03-03 21:48:05 +01:00
parent 08fd0715f9
commit d4d505c868
3 changed files with 31 additions and 20 deletions

View File

@ -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