Skip to content

Commit

Permalink
Change the way
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypan authored and Jay Pan committed Oct 17, 2024
1 parent a8207eb commit 535e716
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frame/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -889,8 +889,7 @@ 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::reducible_balance(&account_id, Preservation::Preserve, Fortitude::Polite);
let balance = T::Currency::free_balance(&account_id);

(
Account {
Expand Down

0 comments on commit 535e716

Please sign in to comment.