Skip to content

Commit 6e01e54

Browse files
committed
Remove Ankr as a deafult for now as the provided API key is failing.
1 parent d2e683e commit 6e01e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/providers/default-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function getDefaultProvider(network: string | Networkish | WebSocketLike,
4141
} catch (error) { console.log(error); }
4242
}
4343

44-
if (options.ankr !== "-") {
44+
if (options.ankr !== "-" && options.ankr != null) {
4545
try {
4646
providers.push(new AnkrProvider(network, options.ankr));
4747
} catch (error) { console.log(error); }

0 commit comments

Comments
 (0)