Added Pocket network to the default provider (#1030, #1052).

This commit is contained in:
Richard Moore 2021-02-01 14:40:02 -05:00
parent 4f67ecdf62
commit 4af2c19f45
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -44,6 +44,12 @@ function ethDefaultProvider(network: string | Network): Renetworkable {
} catch(error) { }
}
if (providers.PocketProvider) {
try {
providerList.push(new providers.PocketProvider(network));
} catch(error) { }
}
if (providers.CloudflareProvider) {
try {
providerList.push(new providers.CloudflareProvider(network));