@ethersproject/networks
Advanced tools
Comparing version 5.0.0-beta.135 to 5.0.0-beta.136
@@ -1,1 +0,1 @@ | ||
export declare const version = "networks/5.0.0-beta.135"; | ||
export declare const version = "networks/5.0.0-beta.136"; |
@@ -1,1 +0,1 @@ | ||
export const version = "networks/5.0.0-beta.135"; | ||
export const version = "networks/5.0.0-beta.136"; |
@@ -39,13 +39,8 @@ "use strict"; | ||
if (providers.FallbackProvider) { | ||
let quorum = providerList.length / 2; | ||
let quorum = 1; | ||
if (options.quorum != null) { | ||
quorum = options.quorum; | ||
} | ||
else if (quorum > 2) { | ||
if (network === "homestead") { | ||
quorum = 2; | ||
} | ||
else { | ||
quorum = 1; | ||
} | ||
else if (network === "homestead") { | ||
quorum = 2; | ||
} | ||
@@ -52,0 +47,0 @@ return new providers.FallbackProvider(providerList, quorum); |
@@ -1,1 +0,1 @@ | ||
export declare const version = "networks/5.0.0-beta.135"; | ||
export declare const version = "networks/5.0.0-beta.136"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "networks/5.0.0-beta.135"; | ||
exports.version = "networks/5.0.0-beta.136"; |
@@ -40,13 +40,8 @@ "use strict"; | ||
if (providers.FallbackProvider) { | ||
var quorum = providerList.length / 2; | ||
var quorum = 1; | ||
if (options.quorum != null) { | ||
quorum = options.quorum; | ||
} | ||
else if (quorum > 2) { | ||
if (network === "homestead") { | ||
quorum = 2; | ||
} | ||
else { | ||
quorum = 1; | ||
} | ||
else if (network === "homestead") { | ||
quorum = 2; | ||
} | ||
@@ -53,0 +48,0 @@ return new providers.FallbackProvider(providerList, quorum); |
@@ -26,5 +26,5 @@ { | ||
}, | ||
"tarballHash": "0xa9e016289333d17590090a4da1468c8d91d94b6b0f8c6cb6060c02ef2ca90712", | ||
"tarballHash": "0xb7015a03a561289873d128576d5547854d07c54bd48f596e286b088ce8db522c", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.0.0-beta.135" | ||
"version": "5.0.0-beta.136" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14930
409