Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
augustbleeds committed Mar 7, 2024
1 parent 4ac4f08 commit b4f7f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/pkg/chainlink/chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (c *chain) getClient() (*starknet.Client, error) {
for _, i := range index {
node = nodes[i]
// create client and check
client, err = starknet.NewClient(node.ChainID, node.URL, c.lggr, &timeout)
client, err = starknet.NewClient(node.ChainID, node.URL, node.APIKey, c.lggr, &timeout)
// if error, try another node
if err != nil {
c.lggr.Warnw("failed to create node", "name", node.Name, "starknet-url", node.URL, "err", err.Error())
Expand Down

0 comments on commit b4f7f5c

Please sign in to comment.