diff --git a/primitives/src/democracy.rs b/primitives/src/democracy.rs index 1ef6ef52..9fe88183 100644 --- a/primitives/src/democracy.rs +++ b/primitives/src/democracy.rs @@ -87,7 +87,7 @@ pub enum ProposalState { Enacted, } -impl ProposalState { +impl ProposalState { pub fn can_update(self) -> bool { matches!(self, Self::Confirming { since: _ } | Self::Ongoing) }