Commit 1b341af0 authored by yann300's avatar yann300

check if source is available

parent d6bc36fd
......@@ -38,7 +38,7 @@ var getDetails = function (contractName, contract, source) {
detail['Runtime Bytecode'] = contract.evm.deployedBytecode
}
if (contract.assembly !== null) {
if (source && contract.assembly !== null) {
detail['Assembly'] = formatAssemblyText(contract.evm.legacyAssembly, '', source.content)
}
......
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