Skip to content

Commit

Permalink
lower case var
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Mar 4, 2024
1 parent 0a49530 commit f95a7dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions peers/app_request_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewNetwork(
registerer prometheus.Registerer,
subnetIDs []ids.ID,
blockchainIDs []ids.ID,
InfoAPINodeURL string,
infoAPINodeURL string,
) (*AppRequestNetwork, map[ids.ID]chan message.InboundMessage, error) {
logger := logging.NewLogger(
"awm-relayer-p2p",
Expand All @@ -55,13 +55,13 @@ func NewNetwork(
),
)

if InfoAPINodeURL == "" {
if infoAPINodeURL == "" {
logger.Error("No InfoAPI node URL provided")
return nil, nil, fmt.Errorf("must provide an Inffo API URL")
}

// Create the info client
infoClient := info.NewClient(InfoAPINodeURL)
infoClient := info.NewClient(infoAPINodeURL)
networkID, err := infoClient.GetNetworkID(context.Background())
if err != nil {
logger.Error(
Expand Down

0 comments on commit f95a7dd

Please sign in to comment.