Remove Ankr as a deafult for now as the provided API key is failing.
This commit is contained in:
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); }
|
||||
|
Loading…
Reference in New Issue
Block a user