Skip to content

Commit

Permalink
Use PartyId in benchmarks
Browse files Browse the repository at this point in the history
Forgot to do in #59
  • Loading branch information
fjarri committed Oct 30, 2024
1 parent 629ad38 commit 9ed806a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manul/benches/empty_rounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct Round1Payload;

struct Round1Artifact;

impl<Id: 'static + Debug + Clone + Ord + Send + Sync> FirstRound<Id> for EmptyRound<Id> {
impl<Id: PartyId> FirstRound<Id> for EmptyRound<Id> {
type Inputs = Inputs<Id>;
fn new(
_rng: &mut impl CryptoRngCore,
Expand All @@ -88,7 +88,7 @@ impl<Id: 'static + Debug + Clone + Ord + Send + Sync> FirstRound<Id> for EmptyRo
}
}

impl<Id: 'static + Debug + Clone + Ord + Send + Sync> Round<Id> for EmptyRound<Id> {
impl<Id: PartyId> Round<Id> for EmptyRound<Id> {
type Protocol = EmptyProtocol;

fn id(&self) -> RoundId {
Expand Down

0 comments on commit 9ed806a

Please sign in to comment.