From e50e3ce49a2bffbd8b332eb5efb46fa7d8f0d1ec Mon Sep 17 00:00:00 2001 From: Frank Bell Date: Wed, 27 Nov 2024 14:24:09 +0000 Subject: [PATCH] refactor: address clippy warning --- crates/pop-parachains/src/relay.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pop-parachains/src/relay.rs b/crates/pop-parachains/src/relay.rs index 32dc222b..884aeaab 100644 --- a/crates/pop-parachains/src/relay.rs +++ b/crates/pop-parachains/src/relay.rs @@ -51,7 +51,7 @@ pub async fn clear_dmpq( let kill_storage = dynamic::tx( "System", "kill_storage", - vec![Value::unnamed_composite(clear_dmq_keys.into_iter().map(|k| Value::from_bytes(k)))], + vec![Value::unnamed_composite(clear_dmq_keys.into_iter().map(Value::from_bytes))], ); let sudo_call = dynamic::tx("Sudo", "sudo", vec![kill_storage.into_value()]); Ok(client.tx().sign_and_submit_default(&sudo_call, &sudo).await?)