aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen-templates/partials/callAsync.handlebars
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-24 13:02:55 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-15 02:49:44 +0800
commit33f340522699322b0a0d76ffb5c4ebef3351c53a (patch)
tree93d790b91190a0eb3bf9380a3238423c2333b0f8 /packages/abi-gen-templates/partials/callAsync.handlebars
parent86caa4a0bb82e3ba7d362cca9b75565bf8944952 (diff)
downloaddexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.tar
dexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.tar.gz
dexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.tar.bz2
dexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.tar.lz
dexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.tar.xz
dexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.tar.zst
dexon-sol-tools-33f340522699322b0a0d76ffb5c4ebef3351c53a.zip
`let` -> `const` in callAsync
Diffstat (limited to 'packages/abi-gen-templates/partials/callAsync.handlebars')
-rw-r--r--packages/abi-gen-templates/partials/callAsync.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/abi-gen-templates/partials/callAsync.handlebars b/packages/abi-gen-templates/partials/callAsync.handlebars
index e978f577d..37b50307c 100644
--- a/packages/abi-gen-templates/partials/callAsync.handlebars
+++ b/packages/abi-gen-templates/partials/callAsync.handlebars
@@ -16,6 +16,6 @@ async callAsync(
const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock);
BaseContract._throwIfRevertWithReasonCallResult(rawCallResult);
const abiEncoder = self._lookupAbiEncoder('{{this.functionSignature}}');
- let resultArray = abiEncoder.decodeReturnValuesAsArrayOrNull(rawCallResult);
+ const resultArray = abiEncoder.decodeReturnValuesAsArrayOrNull(rawCallResult);
return resultArray{{#singleReturnValue}}[0]{{/singleReturnValue}};
},