From 5f89d4a2e0ae33bcca03533744c3787242b3d114 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 12 May 2020 14:48:15 +0200 Subject: [PATCH] standard --- remix-lib/src/sourceLocationTracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix-lib/src/sourceLocationTracker.js b/remix-lib/src/sourceLocationTracker.js index 9161b68a42..10366776b3 100644 --- a/remix-lib/src/sourceLocationTracker.js +++ b/remix-lib/src/sourceLocationTracker.js @@ -68,7 +68,7 @@ function getSourceMap (address, code, contracts) { const bytecode = contracts[file][contract].evm.bytecode const deployedBytecode = contracts[file][contract].evm.deployedBytecode if (!deployedBytecode) return bytecode.sourceMap - + bytes = isCreation ? bytecode.object : deployedBytecode.object if (util.compareByteCode(code, '0x' + bytes)) { return isCreation ? bytecode.sourceMap : deployedBytecode.sourceMap