Updating dist package for updated EtherscanProvider.
This commit is contained in:
parent
4407c7a4e1
commit
e4dcec7de7
4
dist/ethers.js
vendored
4
dist/ethers.js
vendored
@ -7551,7 +7551,7 @@ function checkLogTag(blockTag) {
|
||||
utils.defineProperty(EtherscanProvider.prototype, 'perform', function(method, params) {
|
||||
if (!params) { params = {}; }
|
||||
|
||||
var url = this.testnet ? 'https://testnet.etherscan.io': 'https://api.etherscan.io';
|
||||
var url = this.testnet ? 'https://ropsten.etherscan.io': 'https://api.etherscan.io';
|
||||
|
||||
var apiKey = '';
|
||||
if (this.apiKey) { apiKey += '&apikey=' + this.apiKey; }
|
||||
@ -9092,7 +9092,7 @@ function randomBytes(length) {
|
||||
};
|
||||
|
||||
if (crypto._weakCrypto === true) {
|
||||
utils.defineProperty(randomBytes, '_weakCrypto', true);
|
||||
defineProperty(randomBytes, '_weakCrypto', true);
|
||||
}
|
||||
|
||||
module.exports = randomBytes;
|
||||
|
4
dist/ethers.min.js
vendored
4
dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user