From b34d4b1c0851f48f0f0203f25499ed413f1d507b Mon Sep 17 00:00:00 2001 From: Doordashcon Date: Fri, 6 Sep 2024 13:02:09 +0100 Subject: [PATCH] remove {} AHP --- .../asset-hubs/asset-hub-polkadot/src/lib.rs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 3b3d3098d7..e84386623a 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -485,16 +485,14 @@ impl InstanceFilter for ProxyType { RuntimeCall::Utility { .. } | RuntimeCall::Multisig { .. } ), - ProxyType::Assets => { - matches!( - c, - RuntimeCall::Assets { .. } | - RuntimeCall::Utility { .. } | - RuntimeCall::Multisig { .. } | - RuntimeCall::Nfts { .. } | - RuntimeCall::Uniques { .. } - ) - }, + ProxyType::Assets => matches!( + c, + RuntimeCall::Assets { .. } | + RuntimeCall::Utility { .. } | + RuntimeCall::Multisig { .. } | + RuntimeCall::Nfts { .. } | + RuntimeCall::Uniques { .. } + ), ProxyType::AssetOwner => matches!( c, RuntimeCall::Assets(TrustBackedAssetsCall::create { .. }) |