Skip to content

Commit

Permalink
resolve goimports CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zeim839 committed May 28, 2022
1 parent 79c9d89 commit 1bdbfc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Expand Up @@ -685,7 +685,7 @@ var (
Usage: "Network listening port",
Value: 30303,
}
DiscPortFlag = cli.IntFlag {
DiscPortFlag = cli.IntFlag{
Name: "discport",
Usage: "Use a custom UDP port for P2P discovery",
Value: 30303,
Expand Down
2 changes: 1 addition & 1 deletion p2p/server.go
Expand Up @@ -557,7 +557,7 @@ func (srv *Server) setupDiscovery() error {

// Use an alternate listening address for UDP if
// a custom discovery address is configured.
if (srv.DiscAddr != "") {
if srv.DiscAddr != "" {
listenAddr = srv.DiscAddr
}

Expand Down

0 comments on commit 1bdbfc3

Please sign in to comment.