MCPcopy Create free account
hub / github.com/crytic/attacknet / IsTargetExecutionClient

Method IsTargetExecutionClient

pkg/plan/types.go:18–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18func (c *PlannerConfig) IsTargetExecutionClient() bool {
19 for _, execClient := range c.ExecutionClients {
20 if execClient.Name == c.FaultConfig.TargetClient {
21 return true
22 }
23 }
24 return false
25}
26
27func (c *PlannerConfig) IsTargetConsensusClient() bool {
28 for _, consClient := range c.ConsensusClients {

Callers 2

BuildPlanFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected