Skip to content

Commit

Permalink
Remove bad panic in coordinator
Browse files Browse the repository at this point in the history
It expected ConfirmationShare to be n-of-n, not t-of-n.
  • Loading branch information
kayabaNerve committed Aug 6, 2024
1 parent 3042697 commit d943e03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions coordinator/src/tributary/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,7 @@ impl<
)
.await;
}
Accumulation::Ready(DataSet::NotParticipating) => {
panic!("wasn't a participant in DKG confirmination shares")
}
Accumulation::NotReady => {}
Accumulation::Ready(DataSet::NotParticipating) | Accumulation::NotReady => {}
}
}

Expand Down

0 comments on commit d943e03

Please sign in to comment.