Remove Ankr as a deafult for now as the provided API key is failing.

This commit is contained in:
Richard Moore 2023-03-20 14:40:43 -04:00
parent d2e683e8eb
commit 6e01e5448f

@ -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); }