We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e335997 commit a464bd3Copy full SHA for a464bd3
message/validation/validation.go
@@ -65,10 +65,7 @@ type ConsensusState struct {
65
// GetSignerState retrieves the state for the given signer.
66
// Returns nil if the signer is not found.
67
func (cs *ConsensusState) GetSignerState(signer spectypes.OperatorID) *SignerState {
68
- signerState, ok := cs.Signers.Get(signer)
69
- if !ok {
70
- return nil
71
- }
+ signerState, _ := cs.Signers.Get(signer)
72
return signerState
73
}
74
0 commit comments