Removing NodesmithProvider from default provider as it is being discontinued.
This commit is contained in:
parent
da8ca2e8bc
commit
01ca35036c
@ -28,11 +28,13 @@ function ethDefaultProvider(network: string): (providers: any) => any {
|
||||
} catch(error) { }
|
||||
}
|
||||
|
||||
/* NodeSmith is being discontinued on 2019-12-20
|
||||
if (providers.NodesmithProvider) {
|
||||
try {
|
||||
providerList.push(new providers.NodesmithProvider(network, options.nodesmith));
|
||||
} catch(error) { }
|
||||
}
|
||||
*/
|
||||
|
||||
if (providers.AlchemyProvider) {
|
||||
try {
|
||||
|
@ -20,6 +20,8 @@ export class NodesmithProvider extends UrlJsonRpcProvider {
|
||||
}
|
||||
|
||||
static getUrl(network: Network, apiKey?: any): string {
|
||||
logger.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");
|
||||
|
||||
let host = null;
|
||||
switch (network.name) {
|
||||
case "homestead":
|
||||
|
Loading…
Reference in New Issue
Block a user