Skip to content

Commit

Permalink
Adjusted received messages condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszslabon committed May 7, 2024
1 parent 78960d2 commit e9e6b0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/protocol/inactivity/states.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,8 @@ func (css *claimSigningState) CanTransition() bool {
// threshold. Unlike in the case of DKG, we cannot expect all the members to
// participate in signing as we know we are dealing with some problem
// arising from operator inactivity.
// TODO: Consider passing the number of required signatures from the code
// that launched the inactivity operator execution.
messagingDone := len(receivedMessages[*claimSignatureMessage](css.BaseAsyncState)) >=
css.member.group.HonestThreshold()
css.member.group.HonestThreshold()-1

return messagingDone
}
Expand Down

0 comments on commit e9e6b0f

Please sign in to comment.