Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadkaouk committed Jan 21, 2024
1 parent e085f09 commit 8eac1b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frame/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,9 +1085,7 @@ where
let refund_amount = paid
.peek()
.saturating_sub(corrected_fee.unique_saturated_into());
// refund to the account that paid the fees. If this fails, the
// account might have dropped below the existential balance. In
// that case we don't refund anything.
// refund to the account that paid the fees.
let refund_imbalance = F::deposit(&account_id, refund_amount, Precision::BestEffort)
.unwrap_or_else(|_| Debt::<T::AccountId, F>::zero());

Expand Down

0 comments on commit 8eac1b9

Please sign in to comment.