fix parameter

This commit is contained in:
Tim Williams 2018-06-14 11:42:06 -04:00 committed by Dustin Brickwood
parent 62cfec3787
commit 6b4eb6abef

View file

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