Skip to content

Commit

Permalink
Fully disable validate_unsigned when feature not active (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes authored Nov 13, 2024
1 parent 8700c63 commit f656f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ismp/pallets/pallet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ pub mod pallet {

/// This allows users execute ISMP datagrams for free. Use with caution.
#[cfg(feature = "unsigned")]
#[pallet::validate_unsigned]
#[cfg_attr(feature="unsigned", pallet::validate_unsigned)]
impl<T: Config> ValidateUnsigned for Pallet<T> {
type Call = Call<T>;

Expand Down

0 comments on commit f656f1e

Please sign in to comment.