aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-09 21:35:42 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:28 +0800
commita7d8f6599a2da7cf0e45f8a11960ee434b4d8da3 (patch)
tree6534cf3717e474e81120affa4abee9e5af340a0b /packages/deployer/src
parent4da6db84189906b554f694d652c975f78d3d3706 (diff)
downloaddexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.tar
dexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.tar.gz
dexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.tar.bz2
dexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.tar.lz
dexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.tar.xz
dexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.tar.zst
dexon-sol-tools-a7d8f6599a2da7cf0e45f8a11960ee434b4d8da3.zip
use sourceList instead of sources
Diffstat (limited to 'packages/deployer/src')
-rw-r--r--packages/deployer/src/compiler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts
index 7c60a099b..80addc088 100644
--- a/packages/deployer/src/compiler.ts
+++ b/packages/deployer/src/compiler.ts
@@ -229,7 +229,7 @@ export class Compiler {
const runtimeBytecode = `0x${compiled.contracts[contractIdentifier].runtimeBytecode}`;
const sourceMap = compiled.contracts[contractIdentifier].srcmap;
const sourceMapRuntime = compiled.contracts[contractIdentifier].srcmapRuntime;
- const sources = _.keys(compiled.sources);
+ const sources = compiled.sourceList;
const updated_at = Date.now();
const contractNetworkData: ContractNetworkData = {
solc_version: contractSpecificSourceData.solcVersion,