Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spl/src/idl_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ macro_rules! impl_idl_build {
//
// TODO: Find a better way to handle discriminators of wrapped external accounts.
impl anchor_lang::Discriminator for $ty {
const DISCRIMINATOR: &[u8] = &[];
const DISCRIMINATOR: &'static[u8] = &[];
}
};
}
Expand Down