Skip to content

Commit

Permalink
fix: reset header.GasUsed
Browse files Browse the repository at this point in the history
  • Loading branch information
setunapo committed Nov 19, 2022
1 parent c63c4ec commit bd991ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,7 @@ LOOP:
if err != nil {
return
}
header.GasUsed = 0

delay := w.engine.Delay(w.chain, work.header, &w.config.DelayLeftOver)
if delay == nil {
Expand Down

0 comments on commit bd991ec

Please sign in to comment.