From b818a514c2f662ecb885d12a980d449dffb5a793 Mon Sep 17 00:00:00 2001 From: renauter Date: Tue, 3 Sep 2024 11:17:28 -0300 Subject: [PATCH] go back to service contract transfer --- .../pallets/pallet-smart-contract/src/service_contract.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substrate-node/pallets/pallet-smart-contract/src/service_contract.rs b/substrate-node/pallets/pallet-smart-contract/src/service_contract.rs index 5637c36e5..df7f16d6a 100644 --- a/substrate-node/pallets/pallet-smart-contract/src/service_contract.rs +++ b/substrate-node/pallets/pallet-smart-contract/src/service_contract.rs @@ -376,10 +376,11 @@ impl Pallet { } // Transfer amount due from consumer account to service account - ::Currency::transfer_allow_death( + ::Currency::transfer( &consumer_twin.account_id, &service_twin.account_id, amount, + ExistenceRequirement::AllowDeath, )?; log::debug!(