Skip to content

Commit

Permalink
chore: revert fuzz conn config helper
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jun 20, 2024
1 parent ac17ef4 commit d1ce8ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tm2/pkg/p2p/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ func (cfg *P2PConfig) ValidateBasic() error {

// FuzzConnConfig is a FuzzedConnection configuration.
type FuzzConnConfig struct {
Mode int `json:"mode"`
MaxDelay time.Duration `json:"max_delay"`
ProbDropRW float64 `json:"prob_drop_rw"`
ProbDropConn float64 `json:"prob_drop_conn"`
ProbSleep float64 `json:"prob_sleep"`
Mode int
MaxDelay time.Duration
ProbDropRW float64
ProbDropConn float64
ProbSleep float64
}

// DefaultFuzzConnConfig returns the default config.
Expand Down

0 comments on commit d1ce8ff

Please sign in to comment.