Skip to content

Commit

Permalink
Merge branch 'master' into cl/introduce-bip340-type
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi authored Sep 15, 2023
2 parents 29ad45c + 7111186 commit 3125bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/src/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub enum ProposalState<BlockNumber> {
Enacted,
}

impl<BlockNumber: std::cmp::PartialEq> ProposalState<BlockNumber> {
impl<BlockNumber: PartialEq> ProposalState<BlockNumber> {
pub fn can_update(self) -> bool {
matches!(self, Self::Confirming { since: _ } | Self::Ongoing)
}
Expand Down

0 comments on commit 3125bdb

Please sign in to comment.