Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusFranco99 committed Jul 25, 2024
1 parent 8a17b77 commit d45f118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/validation/genesis/consensus_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (mv *messageValidator) validateSignerBehaviorConsensus(
signerState := state.GetSignerState(signer)

// If signer state is nil, this is the first message for the signer and
// the next rules can't be checked.
// it's not necessary to check the next rules.
if signerState == nil {
return mv.validateJustifications(share, signedMsg)
}
Expand Down

0 comments on commit d45f118

Please sign in to comment.