Skip to content

Commit

Permalink
fix(taiko-client): some p2p fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mempirate committed Feb 18, 2025
1 parent 848a097 commit b58bbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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.IsSet(p2pFlags.DisableP2PName) && !c.Bool(p2pFlags.DisableP2PName) {
if !c.Bool(p2pFlags.DisableP2PName) {
// Create a new RPC client to get the chain IDs.
rpc, err := rpc.NewClient(context.Background(), clientConfig)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (d *Driver) InitFromConfig(ctx context.Context, cfg *Config) (err error) {
}

if cfg.P2PConfigs != nil {
log.Info("enabling p2p network")
log.Info("Enabling p2p network")
d.p2pSetup = cfg.P2PConfigs

if d.p2pNode, err = p2p.NewNodeP2P(
Expand Down

0 comments on commit b58bbcf

Please sign in to comment.