From ac253a9875a1afacd7d116fae978e2657255f956 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov <39522748+dmitrylavrenov@users.noreply.github.com> Date: Tue, 5 Sep 2023 09:43:06 +0300 Subject: [PATCH] Include `ED` into `account_basic` balance data extraction (#72) Include ED into account_basic balance data extraction --- frame/evm/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frame/evm/src/lib.rs b/frame/evm/src/lib.rs index 5658093f6d..78e552f776 100644 --- a/frame/evm/src/lib.rs +++ b/frame/evm/src/lib.rs @@ -746,8 +746,8 @@ impl Pallet { let account_id = T::AddressMapping::into_account_id(*address); let nonce = T::AccountProvider::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, true); + // keepalive `false` takes into account ExistentialDeposit as part of what's considered liquid balance. + let balance = T::Currency::reducible_balance(&account_id, false); ( Account {