aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-25 18:10:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-29 16:01:13 +0800
commit5b60d9f0f487719510e8d3463faf2fbad9d95d61 (patch)
tree68de0b3438be8b9d672d499d0cc0ce8b41ae1af8 /src/0x.ts
parentdcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e (diff)
downloaddexon-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.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/0x.ts b/src/0x.ts
index 36ebb8ec2..904765633 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -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);