From f0fdb5dfb215bebc54d2a62e54f0c7ae3e71ff91 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 21 Oct 2019 17:34:00 -0400 Subject: ... --- miner/worker.go | 1 + 1 file changed, 1 insertion(+) (limited to 'miner') diff --git a/miner/worker.go b/miner/worker.go index 19234ee..df1c601 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -637,6 +637,7 @@ func (w *worker) resultLoop() { // Commit block and state to database. //fmt.Printf("parent1: %s\n", w.chain.CurrentBlock().Hash().String()) stat, err := w.chain.WriteBlockWithState(block, receipts, task.state) + stat = core.CanonStatTy //fmt.Printf("parent2: %s\n", w.chain.CurrentBlock().Hash().String()) if err != nil { log.Error("Failed writing block to chain", "err", err) -- cgit v1.2.3-70-g09d2