Skip to content

Commit

Permalink
core: refund gas to pool incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlee42 committed Oct 29, 2024
1 parent f09d282 commit 51d622e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/state_transition_goat.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ func (st *StateTransition) goat(msg *Message, ret []byte, vmerr error) (*Executi
if st.evm.Config.Tracer != nil && st.evm.Config.Tracer.OnGasChange != nil {
st.evm.Config.Tracer.OnGasChange(st.gasRemaining, st.initialGas, tracing.GasChangeTxRefunds)
}
st.gp.AddGas(gasUsed)

return &ExecutionResult{
UsedGas: 0,
Expand Down

0 comments on commit 51d622e

Please sign in to comment.