From 4e53da1c7226b44d209933179c9cd4a36061806f Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Wed, 24 Aug 2022 22:30:41 +0800 Subject: [PATCH] Fixes --- primitives/utility/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/primitives/utility/src/lib.rs b/primitives/utility/src/lib.rs index 38d0838172..2c19674bc7 100644 --- a/primitives/utility/src/lib.rs +++ b/primitives/utility/src/lib.rs @@ -292,6 +292,9 @@ impl< let ok = FungiblesMutateAdapter::deposit_asset( &revenue, &(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();