diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-25 18:10:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-29 16:01:13 +0800 |
commit | 5b60d9f0f487719510e8d3463faf2fbad9d95d61 (patch) | |
tree | 68de0b3438be8b9d672d499d0cc0ce8b41ae1af8 /src/0x.ts | |
parent | dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e (diff) | |
download | dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.gz dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.bz2 dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.lz dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.xz dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.zst dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.zip |
Remove default value for gasPrice
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -164,9 +164,6 @@ export class ZeroEx { */ constructor(provider: Web3Provider, gasPrice?: BigNumber.BigNumber) { this._web3Wrapper = new Web3Wrapper(provider); - if (_.isUndefined(gasPrice)) { - gasPrice = this._web3Wrapper.toWei(new BigNumber(21), 'gwei'); - } this.token = new TokenWrapper(this._web3Wrapper, gasPrice); this.proxy = new TokenTransferProxyWrapper(this._web3Wrapper, gasPrice); this.exchange = new ExchangeWrapper(this._web3Wrapper, this.token, gasPrice); |