This commit is contained in:
Keith Yeung
2022-08-24 22:30:41 +08:00
parent 059037f02d
commit 4e53da1c72
+3
View File
@@ -292,6 +292,9 @@ impl<
let ok = FungiblesMutateAdapter::deposit_asset( let ok = FungiblesMutateAdapter::deposit_asset(
&revenue, &revenue,
&(X1(AccountId32 { network: None, id: receiver.into() }).into()), &(X1(AccountId32 { network: None, id: receiver.into() }).into()),
// We aren't able to track the XCM that initiated the fee deposit, so we create a
// fake message hash here
&XcmContext::with_message_hash([0; 32]),
) )
.is_ok(); .is_ok();