Skip to content

Commit

Permalink
consensul model TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Apr 11, 2024
1 parent a913adb commit 01443e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions factory/processing/processComponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -2136,6 +2136,7 @@ func checkProcessComponentsArgs(args ProcessComponentsFactoryArgs) error {
if check.IfNil(args.RunTypeComponents.SCProcessorCreator()) {
return fmt.Errorf("%s: %w", baseErrMessage, errorsMx.ErrNilSCProcessorCreator)
}
// TODO make sure consensus model is correct on higher level
if args.RunTypeComponents.ConsensusModel() == consensus.ConsensusModelInvalid {
return fmt.Errorf("%s: %w", baseErrMessage, errorsMx.ErrInvalidConsensusModel)
}
Expand Down

0 comments on commit 01443e4

Please sign in to comment.