aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract/src/index.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 22:00:50 +0800
committerGitHub <noreply@github.com>2018-07-05 22:00:50 +0800
commit01c6efeaf10524a9f412c7c638c99afcf0fd3070 (patch)
treefa5dc6f41c56970dd82e9bf0a8d407dee43f823b /packages/base-contract/src/index.ts
parent22cf7bee5b089384d43e6df0101699491c17847f (diff)
parent87a7a4ad2d55641cbe06d7157df0d8f0996d033a (diff)
downloaddexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.tar
dexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.tar.gz
dexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.tar.bz2
dexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.tar.lz
dexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.tar.xz
dexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.tar.zst
dexon-sol-tools-01c6efeaf10524a9f412c7c638c99afcf0fd3070.zip
Merge branch 'v2-prototype' into v2-contract-wrappers-WIP
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;
}