Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Use committee seat count for validator tipsel
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberphysic4l committed Oct 6, 2023
1 parent 8bded34 commit c10c317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/validator/issuer.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func issueValidatorBlock(ctx context.Context) {
return
}

parents := engineInstance.TipSelection.SelectTips(iotago.BlockMaxParents)
parents := engineInstance.TipSelection.SelectTips(iotago.BlockMaxParents + engineInstance.SybilProtection.SeatManager().SeatCount())

// create the validation block here using the validation block builder from iota.go
validationBlock, err := builder.NewValidationBlockBuilder(deps.Protocol.CurrentAPI()).
Expand Down

0 comments on commit c10c317

Please sign in to comment.