diff --git a/fsm/state_machines/signing_proposal_fsm/actions.go b/fsm/state_machines/signing_proposal_fsm/actions.go index ed6a5eb..b11a8be 100644 --- a/fsm/state_machines/signing_proposal_fsm/actions.go +++ b/fsm/state_machines/signing_proposal_fsm/actions.go @@ -92,10 +92,11 @@ func (m *SigningProposalFSM) actionStartSigningProposal(inEvent fsm.Event, args Participants: make([]*responses.SigningProposalParticipantInvitationEntry, 0), } - for participantId, proposal := range m.payload.SigningProposalPayload.Quorum { + for participantId, participant := range m.payload.SigningProposalPayload.Quorum { responseEntry := &responses.SigningProposalParticipantInvitationEntry{ ParticipantId: participantId, - Addr: proposal.Addr, + Addr: participant.Addr, + Status: uint8(participant.Status), } responseData.Participants = append(responseData.Participants, responseEntry) } diff --git a/fsm/types/responses/signing_proposal.go b/fsm/types/responses/signing_proposal.go index 6f3a2df..026d71a 100644 --- a/fsm/types/responses/signing_proposal.go +++ b/fsm/types/responses/signing_proposal.go @@ -11,6 +11,7 @@ type SigningProposalParticipantInvitationsResponse struct { type SigningProposalParticipantInvitationEntry struct { ParticipantId int Addr string + Status uint8 } type SigningProposalParticipantStatusResponse []*SignatureProposalParticipantStatusEntry