Skip to content

Commit

Permalink
fix(op-geth): fix gasless l1 cost
Browse files Browse the repository at this point in the history
  • Loading branch information
redhdx committed Jul 24, 2024
1 parent ec06717 commit 12809f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ func (st *StateTransition) buyGas() error {
} else {
l1Cost = st.evm.Context.L1CostFunc(st.msg.RollupCostData, st.evm.Context.Time)
}
l1Cost = st.evm.Context.L1CostFunc(st.msg.RollupCostData, st.evm.Context.Time)
if l1Cost != nil {
mgval = mgval.Add(mgval, l1Cost)
}
Expand Down

0 comments on commit 12809f0

Please sign in to comment.