From e9e6b0fa9df8e703d669947aff4bfc21cdf9ba0f Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Tue, 7 May 2024 11:30:55 +0200 Subject: [PATCH] Adjusted received messages condition --- pkg/protocol/inactivity/states.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/protocol/inactivity/states.go b/pkg/protocol/inactivity/states.go index ef97e482bb..dcabe04e93 100644 --- a/pkg/protocol/inactivity/states.go +++ b/pkg/protocol/inactivity/states.go @@ -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 }