From 8cd98c9a35e53c46353d2d3116829725cdc3a42c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 15 Oct 2018 15:38:32 +0200 Subject: [PATCH] standard --- src/app/files/compiler-metadata.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/files/compiler-metadata.js b/src/app/files/compiler-metadata.js index e575bc70fd..5e091d5bd3 100644 --- a/src/app/files/compiler-metadata.js +++ b/src/app/files/compiler-metadata.js @@ -18,7 +18,7 @@ class CompilerMetadata { var path = self._opts.fileManager.currentPath() if (provider && path) { self._opts.compiler.visitContracts((contract) => { - var fileNameDeploy = path + '/' + contract.name + '.deploy.json' + var fileNameDeploy = path + '/' + contract.name + '.deploy.json' provider.get(fileNameDeploy, (error, content) => { if (!error) { content = content || '{}' @@ -42,7 +42,7 @@ class CompilerMetadata { bytecode: contract.object.evm.bytecode, deployedBytecode: contract.object.evm.deployedBytecode, gasEstimates: contract.object.evm.gasEstimates, - methodIdentifiers: contract.object.evm.methodIdentifiers, + methodIdentifiers: contract.object.evm.methodIdentifiers } provider.set(fileNameData, JSON.stringify(data, null, '\t')) })