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()) }