Skip to content

Commit

Permalink
can't use dynamic size for parents
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberphysic4l committed Oct 6, 2023
1 parent c10c317 commit 5815c1a
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 + engineInstance.SybilProtection.SeatManager().SeatCount())
parents := engineInstance.TipSelection.SelectTips(iotago.BlockTypeValidationMaxParents)

// 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 5815c1a

Please sign in to comment.