Unverified Commit 96eef934 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #968 from ewiner/patch-1

Fix TypeError when using older solc
parents a2b60f0f faf464eb
......@@ -41,7 +41,7 @@ class Recorder {
record.contractName = payLoad.contractName
record.bytecode = payLoad.contractBytecode
record.linkReferences = selectedContract.object.evm.bytecode.linkReferences
if (Object.keys(record.linkReferences).length) {
if (record.linkReferences && Object.keys(record.linkReferences).length) {
for (var file in record.linkReferences) {
for (var lib in record.linkReferences[file]) {
self.data._linkReferences[lib] = '<address>'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment