From d83f7ba6ebe54ad32ebf32855a030760048552d3 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 4 Sep 2023 19:53:01 +0300 Subject: [PATCH] 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 19b2cea2d2..d0e229b7a6 100644 --- a/frame/evm/src/lib.rs +++ b/frame/evm/src/lib.rs @@ -720,8 +720,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 {