File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class Network extends Connector {
5050 if ( Array . isArray ( urls ) ) {
5151 accumulator [ Number ( chainId ) ] = urls
5252 } else {
53- // this ternary just makes typescript happy, since it can't infer that the array has elements of the same type
53+ // this ternary just makes TypeScript happy, since it can't infer that the array has elements of the same type
5454 accumulator [ Number ( chainId ) ] = isUrl ( urls ) ? [ urls ] : [ urls ]
5555 }
5656
@@ -66,7 +66,7 @@ export class Network extends Connector {
6666
6767 const urls = this . urlMap [ chainId ]
6868
69- // early return if we have a single jsonrpc provider already
69+ // early return if we have a single JSON-RPC provider already
7070 if ( urls . length === 1 && ! isUrl ( urls [ 0 ] ) ) {
7171 return ( this . providerCache [ chainId ] = Promise . resolve ( urls [ 0 ] ) )
7272 }
You can’t perform that action at this time.
0 commit comments