Skip to content

Commit

Permalink
fix try_state
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusrodri committed Aug 1, 2023
1 parent 961b5ba commit 23b162a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/maintenance-mode/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl<T: frame_system::Config> frame_support::traits::TryState<BlockNumberOf<T>>
fn try_state(
_: BlockNumberOf<T>,
_: frame_support::traits::TryStateSelect,
) -> Result<(), &'static str> {
) -> Result<(), sp_runtime::DispatchError> {
Ok(())
}
}

0 comments on commit 23b162a

Please sign in to comment.