Skip to content

Commit

Permalink
gofumpt -extra
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin committed Jun 26, 2024
1 parent 0d20b12 commit c09947d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cmd/flags_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func ParseNodeFlags(ctx context.Context, cmd *cobra.Command, network p2p.Network
if nodeConfig != "" {
// try to load config from given path
cfg, err := nodebuilder.LoadConfig(nodeConfig)

if err != nil {
return ctx, fmt.Errorf("cmd: while parsing '%s': %w", nodeConfigFlag, err)
}
Expand Down
1 change: 1 addition & 0 deletions nodebuilder/core/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func ParseFlags(
rpc := cmd.Flag(coreRPCFlag).Value.String()
cfg.RPCPort = rpc
}

if cmd.Flag(coreGRPCFlag).Changed {
grpc := cmd.Flag(coreGRPCFlag).Value.String()
cfg.GRPCPort = grpc
Expand Down

0 comments on commit c09947d

Please sign in to comment.