diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-10 10:10:33 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:30 +0800 |
commit | 368870a2fc515a63f6485d500ca7e67cd0a5b80e (patch) | |
tree | 6866291a98bb003c8eeaa821dae224a06c909a6a | |
parent | 945a19bb61722ddb708ea8108e36d3fea7d03d52 (diff) | |
download | dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.gz dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.tar.zst dexon-sol-tools-368870a2fc515a63f6485d500ca7e67cd0a5b80e.zip |
Fix sources list generation in a compiler
-rw-r--r-- | packages/deployer/src/compiler.ts | 2 |
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, |