From d4d505c868fcd0f692ec3573bd6cfcb1c5230fe2 Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 3 Mar 2015 21:48:05 +0100 Subject: Fixed genesis --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miner/worker.go') 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 -- cgit v1.2.3