Skip to content

Commit

Permalink
go back to service contract transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter committed Sep 3, 2024
1 parent 3ceb72d commit b818a51
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,11 @@ impl<T: Config> Pallet<T> {
}

// Transfer amount due from consumer account to service account
<T as Config>::Currency::transfer_allow_death(
<T as Config>::Currency::transfer(
&consumer_twin.account_id,
&service_twin.account_id,
amount,
ExistenceRequirement::AllowDeath,
)?;

log::debug!(
Expand Down

0 comments on commit b818a51

Please sign in to comment.