Skip to content

Commit

Permalink
remove membership associated type from certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
bfish713 committed Nov 3, 2023
1 parent 523514a commit d68a874
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/types/src/simple_certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ impl<TYPES: NodeType, VOTEABLE: Voteable + 'static> Certificate2<TYPES>
for SimpleCertificate<TYPES, VOTEABLE>
{
type Voteable = VOTEABLE;
// type Membership = MEMBERSHIP;

fn create_signed_certificate(
vote_commitment: Commitment<VOTEABLE>,
Expand Down
2 changes: 0 additions & 2 deletions crates/types/src/vote2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ The committee is defined by the `Membership` associated type.
The votes all must be over the `Commitment` associated type.
*/
pub trait Certificate2<TYPES: NodeType>: HasViewNumber<TYPES> {
/// Type that defines membership for voters on the certificate
// type Membership: Membership<TYPES>;
/// The data commitment this certificate certifies.
type Voteable: Voteable;

Expand Down

0 comments on commit d68a874

Please sign in to comment.