Skip to content

Commit

Permalink
crank the fucksup
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Jun 6, 2024
1 parent 19ff1b8 commit 9800fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/runtime/pkg/runtime/middleware/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (h *ValidatorMiddleware[
)
defer h.metrics.measurePrepareProposalDuration(startTime)

if req.Height > 10 && time.Now().UnixMilli()%4 == 0 {
if req.Height > 10 && time.Now().UnixMilli()%2 == 0 {
logger.Info("breaking in prepare proposal due to random chance")
return &cmtabci.PrepareProposalResponse{}, nil
}
Expand Down

0 comments on commit 9800fad

Please sign in to comment.