From 6b4eb6abef2020c11c604fdc6bf65f01703309e7 Mon Sep 17 00:00:00 2001 From: Tim Williams Date: Thu, 14 Jun 2018 11:42:06 -0400 Subject: [PATCH] fix parameter --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index cfbc9c5377..d1880456fc 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -311,7 +311,7 @@ func (self *worker) wait() { } fmt.Printf("\n\t[WORKER.GO self.eth] %+v\n", self.eth) // NOTE:SHYFT Added eth to writeBlockWithState - stat, err := self.chain.WriteBlockWithState(block, work.receipts, work.state, self.eth) + stat, err := self.chain.WriteBlockWithState(block, work.receipts, work.state) if err != nil { log.Error("Failed writing block to chain", "err", err) continue