Skip to content

Commit

Permalink
fix(fc-pallet-pass): missing import to format! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Nov 28, 2024
1 parent dd313a4 commit 4a5f224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/pass/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ impl<T: Config<I>, I: 'static> Pallet<T, I> {
}

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

Expand Down

0 comments on commit 4a5f224

Please sign in to comment.