diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 22:57:51 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-10 23:56:57 +0800 |
commit | 2e1c2d9dfeca4439435fdf1ed58504142963585a (patch) | |
tree | 3eb20636ea8531f3eade2279e66f1ef4a92152b4 /packages/contract_templates/partials/tx.handlebars | |
parent | f854f3ee2bd74bbb61ed465099168b4d391f92c8 (diff) | |
download | dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.gz dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.tar.zst dexon-sol-tools-2e1c2d9dfeca4439435fdf1ed58504142963585a.zip |
Fix templates
Diffstat (limited to 'packages/contract_templates/partials/tx.handlebars')
-rw-r--r-- | packages/contract_templates/partials/tx.handlebars | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract_templates/partials/tx.handlebars b/packages/contract_templates/partials/tx.handlebars index f72078a4e..23bafd869 100644 --- a/packages/contract_templates/partials/tx.handlebars +++ b/packages/contract_templates/partials/tx.handlebars @@ -19,7 +19,7 @@ public {{this.tsName}} = { ...txData, data: encodedData, }, - this._web3Wrapper.getContractDefaults(), + self._web3Wrapper.getContractDefaults(), self.{{this.tsName}}.estimateGasAsync.bind( self, {{> params inputs=inputs}} @@ -43,7 +43,7 @@ public {{this.tsName}} = { ...txData, data: encodedData, }, - this._web3Wrapper.getContractDefaults(), + self._web3Wrapper.getContractDefaults(), ); const gas = await self._web3Wrapper.estimateGasAsync(txDataWithDefaults); return gas; |