aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract_templates/contract.handlebars
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-09-21 17:48:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-09-21 17:48:06 +0800
commit79cf6969f9fb4eedb48d790449663780d1516a43 (patch)
tree2f4250285669ce7f30ee785773deae18d563c85b /packages/contract_templates/contract.handlebars
parent3167bfde1a426e567de1b2f9809062217bb19b6b (diff)
downloaddexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.tar
dexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.tar.gz
dexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.tar.bz2
dexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.tar.lz
dexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.tar.xz
dexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.tar.zst
dexon-sol-tools-79cf6969f9fb4eedb48d790449663780d1516a43.zip
Fix linter issue
Diffstat (limited to 'packages/contract_templates/contract.handlebars')
-rw-r--r--packages/contract_templates/contract.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract_templates/contract.handlebars b/packages/contract_templates/contract.handlebars
index 5c5f8c808..9ae39f44f 100644
--- a/packages/contract_templates/contract.handlebars
+++ b/packages/contract_templates/contract.handlebars
@@ -66,7 +66,7 @@ export class {{contractName}}Contract extends BaseContract {
BaseContract._bigNumberToString,
);
const iface = new ethers.Interface(abi);
- let deployInfo = iface.deployFunction;
+ const deployInfo = iface.deployFunction;
const txData = deployInfo.encode(bytecode, [{{> params inputs=ctor.inputs}}]);
const web3Wrapper = new Web3Wrapper(provider);
const txDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync(