diff options
Diffstat (limited to 'miner')
-rw-r--r-- | miner/worker.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |