Skip to content

Commit

Permalink
Remove Ankr as a deafult for now as the provided API key is failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Mar 20, 2023
1 parent d2e683e commit 6e01e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/providers/default-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function getDefaultProvider(network: string | Networkish | WebSocketLike,
} catch (error) { console.log(error); }
}

if (options.ankr !== "-") {
if (options.ankr !== "-" && options.ankr != null) {
try {
providers.push(new AnkrProvider(network, options.ankr));
} catch (error) { console.log(error); }
Expand Down

0 comments on commit 6e01e54

Please sign in to comment.