Commit b3a5c1a6 authored by yann300's avatar yann300 Committed by Aniket

continue if deployedByteCode not present

parent 5f89d4a2
......@@ -67,7 +67,7 @@ function getSourceMap (address, code, contracts) {
for (let contract in contracts[file]) {
const bytecode = contracts[file][contract].evm.bytecode
const deployedBytecode = contracts[file][contract].evm.deployedBytecode
if (!deployedBytecode) return bytecode.sourceMap
if (!deployedBytecode) continue
bytes = isCreation ? bytecode.object : deployedBytecode.object
if (util.compareByteCode(code, '0x' + bytes)) {
......
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