From d68a87424536f811adb750b748d9cf62575191b2 Mon Sep 17 00:00:00 2001 From: Brendon Fish Date: Fri, 3 Nov 2023 14:33:39 -0400 Subject: [PATCH] remove membership associated type from certificate --- crates/types/src/simple_certificate.rs | 1 - crates/types/src/vote2.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/crates/types/src/simple_certificate.rs b/crates/types/src/simple_certificate.rs index 18bf1d0259..766c4eaa69 100644 --- a/crates/types/src/simple_certificate.rs +++ b/crates/types/src/simple_certificate.rs @@ -41,7 +41,6 @@ impl Certificate2 for SimpleCertificate { type Voteable = VOTEABLE; - // type Membership = MEMBERSHIP; fn create_signed_certificate( vote_commitment: Commitment, diff --git a/crates/types/src/vote2.rs b/crates/types/src/vote2.rs index 0c926b8f5f..e510bef4c6 100644 --- a/crates/types/src/vote2.rs +++ b/crates/types/src/vote2.rs @@ -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: HasViewNumber { - /// Type that defines membership for voters on the certificate - // type Membership: Membership; /// The data commitment this certificate certifies. type Voteable: Voteable;