aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-10 10:10:33 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:30 +0800
commit368870a2fc515a63f6485d500ca7e67cd0a5b80e (patch)
tree6866291a98bb003c8eeaa821dae224a06c909a6a /packages
parent945a19bb61722ddb708ea8108e36d3fea7d03d52 (diff)
downloaddexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar
dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.gz
dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.bz2
dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.lz
dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.xz
dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.zst
dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.zip
Fix sources list generation in a compiler
Diffstat (limited to 'packages')
-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 080188f91..ced8063db 100644
--- a/packages/deployer/src/compiler.ts
+++ b/packages/deployer/src/compiler.ts
@@ -233,7 +233,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 = compiled.sourceList;
+ const sources = _.keys(compiled.sources);
const updated_at = Date.now();
const contractNetworkData: ContractNetworkData = {
solc_version: contractSpecificSourceData.solcVersion,