We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375627f commit cc250b2Copy full SHA for cc250b2
packages/providers/src.ts/index.ts
@@ -43,7 +43,7 @@ const logger = new Logger(version);
43
////////////////////////
44
// Helper Functions
45
46
-function getDefaultProvider(network?: Network | string, options?: any): BaseProvider {
+function getDefaultProvider(network?: Networkish, options?: any): BaseProvider {
47
if (network == null) { network = "homestead"; }
48
49
// If passed a URL, figure out the right type of provider based on the scheme
0 commit comments