From b02784b0cfd87c7fde0b750bd202e365278bcbd4 Mon Sep 17 00:00:00 2001 From: jaypan Date: Wed, 23 Oct 2024 16:02:08 +0200 Subject: [PATCH] Move to Expendable --- frame/evm/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frame/evm/src/lib.rs b/frame/evm/src/lib.rs index 6c68fbbf4c..d12a139af0 100644 --- a/frame/evm/src/lib.rs +++ b/frame/evm/src/lib.rs @@ -889,7 +889,8 @@ impl Pallet { let nonce = frame_system::Pallet::::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 {