Skip to content

Commit

Permalink
refactor: address clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Nov 27, 2024
1 parent 35709ca commit e50e3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/pop-parachains/src/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
Expand Down

0 comments on commit e50e3ce

Please sign in to comment.