diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-05 22:00:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 22:00:50 +0800 |
commit | 01c6efeaf10524a9f412c7c638c99afcf0fd3070 (patch) | |
tree | fa5dc6f41c56970dd82e9bf0a8d407dee43f823b /packages/base-contract/src/index.ts | |
parent | 22cf7bee5b089384d43e6df0101699491c17847f (diff) | |
parent | 87a7a4ad2d55641cbe06d7157df0d8f0996d033a (diff) | |
download | dexon-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.ts | 2 |
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; } |