Skip to content

Commit

Permalink
Move to Expendable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypan authored and Jay Pan committed Oct 23, 2024
1 parent 535e716 commit b02784b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frame/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,8 @@ impl<T: Config> Pallet<T> {

let nonce = frame_system::Pallet::<T>::account_nonce(&account_id);
// keepalive `true` takes into account ExistentialDeposit as part of what's considered liquid balance.
let balance = T::Currency::free_balance(&account_id);
let balance =
T::Currency::reducible_balance(&account_id, Preservation::Expendable, Fortitude::Polite);

(
Account {
Expand Down

0 comments on commit b02784b

Please sign in to comment.