From 167f8dee6672788effc3f09ec6ed3573d067258a Mon Sep 17 00:00:00 2001 From: Chris Smith <1408372+iamchrissmith@users.noreply.github.com> Date: Wed, 10 Jul 2019 14:30:53 -0400 Subject: [PATCH] remove commented code --- lib/evmv.js | 6 ------ lib/modules.js | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/evmv.js b/lib/evmv.js index f48f42fd..fff27e62 100644 --- a/lib/evmv.js +++ b/lib/evmv.js @@ -41,12 +41,6 @@ module.exports = function (state) { } = node; // console.log(bin_runtime); - // const contract_look_up = call_id == 'CALLER_ID' ? 'ACCT_ID' : call_id; - // let contract_o = state.config.implementations[state.config.v2n[contract_look_up]]; - // if (!contract_o) { - // console.log('impl', state.config.implementations, 'v2n', state.config.v2n, 'lookup', contract_look_up); - // } - // let contract = state.config.contracts[contract_o.name]; let contract = getContractFromCallId(state, call_id); // TODO - use var to contractname map to get the contractname // and use it to get the right contract here diff --git a/lib/modules.js b/lib/modules.js index 2befff12..ca9466fd 100644 --- a/lib/modules.js +++ b/lib/modules.js @@ -66,12 +66,6 @@ const view = { pc, call_id } = buildDisplayInfo(k); - // const contract_look_up = call_id == 'CALLER_ID' ? 'ACCT_ID' : call_id; - // let contract_o = state.config.implementations[state.config.v2n[contract_look_up]]; - // if (!contract_o) { - // console.log('impl', state.config.implementations, 'v2n', state.config.v2n, 'lookup', contract_look_up); - // } - // let contract_o = state.config.implementations[state.config.v2n[call_id]]; let contract = getContractFromCallId(state, call_id); let src = getCodeStringFromPc(state.config.srcs, contract, parseInt(pc), true); return src;