From 4a5f22417b079d9034359303df2118abeafe0432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Thu, 28 Nov 2024 17:27:45 -0500 Subject: [PATCH] fix(fc-pallet-pass): missing import to `format!` macro --- pallets/pass/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/pass/src/lib.rs b/pallets/pass/src/lib.rs index 8d9f28e..fb2d022 100644 --- a/pallets/pass/src/lib.rs +++ b/pallets/pass/src/lib.rs @@ -392,6 +392,7 @@ impl, I: 'static> Pallet { } fn task_name_from_session_key(session_key: &T::AccountId) -> TaskName { + use sp_runtime::format; blake2_256(format!("remove_session_key_{session_key}").as_bytes()) }