aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract/src/index.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-05 21:04:58 +0800
committerGitHub <noreply@github.com>2018-07-05 21:04:58 +0800
commit87a7a4ad2d55641cbe06d7157df0d8f0996d033a (patch)
treef0374adf1f3e6d87df25032499f14ec7c231265c /packages/base-contract/src/index.ts
parent5176d929fa6d3c6ce414448ea2441bd450f04e3c (diff)
parenta1fb438a8c8722d14c7a1e52e844898ff5451e66 (diff)
downloaddexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.tar
dexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.tar.gz
dexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.tar.bz2
dexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.tar.lz
dexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.tar.xz
dexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.tar.zst
dexon-sol-tools-87a7a4ad2d55641cbe06d7157df0d8f0996d033a.zip
Merge pull request #821 from 0xProject/remove-web3-from-wrapper
Remove Web3.js From 0x-monorepo 🍾
Diffstat (limited to 'packages/base-contract/src/index.ts')
-rw-r--r--packages/base-contract/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts
index cb9042415..6b970ec27 100644
--- a/packages/base-contract/src/index.ts
+++ b/packages/base-contract/src/index.ts
@@ -80,7 +80,7 @@ export class BaseContract {
// Awaiting https://github.com/Microsoft/TypeScript/pull/13288 to be merged
} as any;
if (_.isUndefined(txDataWithDefaults.gas) && !_.isUndefined(estimateGasAsync)) {
- txDataWithDefaults.gas = await estimateGasAsync(txData);
+ txDataWithDefaults.gas = await estimateGasAsync(txDataWithDefaults as any);
}
return txDataWithDefaults;
}