Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
hooks default impl missing where clause
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma committed Jan 28, 2023
1 parent 6c11190 commit 4fcd208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/support/procedural/src/pallet/expand/hooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub fn expand_hooks(def: &mut Def) -> proc_macro2::TokenStream {
quote::quote! {
impl<#type_impl_gen>
#frame_support::traits::Hooks<<T as #frame_system::Config>::BlockNumber>
for Pallet<#type_use_gen> {}
for #pallet_ident<#type_use_gen> #where_clause {}
}
} else {
proc_macro2::TokenStream::new()
Expand Down

0 comments on commit 4fcd208

Please sign in to comment.