Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed Sep 3, 2024
1 parent cc39ffb commit 1bbbc7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/revm/src/handler/mainnet/post_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ pub fn refund<SPEC: Spec, EXT, DB: Database>(

if standard_cost > floor {
// Return gas charged as token cost floor.
// TODO: should it be refund instead?
gas.erase_cost(token_cost_difference);
}
}
Expand Down

0 comments on commit 1bbbc7f

Please sign in to comment.