diff --git a/src/state_machine/coordinator/fire.rs b/src/state_machine/coordinator/fire.rs index 2b977b80..8fbbe8d3 100644 --- a/src/state_machine/coordinator/fire.rs +++ b/src/state_machine/coordinator/fire.rs @@ -316,9 +316,15 @@ impl Coordinator { "DKG Round {}: Starting Private Share Distribution", self.current_dkg_id ); + let active_key_ids = self + .dkg_public_shares + .keys() + .flat_map(|signer_id| self.config.signer_key_ids[signer_id].clone()) + .collect::>(); + let dkg_begin = DkgPrivateBegin { dkg_id: self.current_dkg_id, - key_ids: (0..self.config.num_keys).collect(), + key_ids: active_key_ids, }; let dkg_private_begin_msg = Packet { sig: dkg_begin