Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jan 28, 2025
1 parent 93395cf commit 6b8862a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taiko-client/driver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func NewConfigFromCliContext(c *cli.Context) (*Config, error) {
signerConfigs p2p.SignerSetup
)

if !c.Bool(p2pFlags.DisableP2PName) {
if c.IsSet(p2pFlags.DisableP2PName) && !c.Bool(p2pFlags.DisableP2PName) {
log.Info("p2pFlag enabled", "p2pFlag", c.Bool(p2pFlags.DisableP2PName))
// Create a new RPC client to get the chain IDs.
rpc, err := rpc.NewClient(context.Background(), clientConfig)
Expand Down

0 comments on commit 6b8862a

Please sign in to comment.