diff --git a/remix-lib/src/sourceLocationTracker.js b/remix-lib/src/sourceLocationTracker.js index 10366776b3..bb5ac19e79 100644 --- a/remix-lib/src/sourceLocationTracker.js +++ b/remix-lib/src/sourceLocationTracker.js @@ -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)) {