From e952bbc41a444cff40c10e74dfdbaf228d09962b Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sun, 23 Sep 2018 18:40:51 -0400 Subject: [PATCH] Fix contract matching --- lib/modules/coverage/contract_source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/coverage/contract_source.js b/lib/modules/coverage/contract_source.js index 5b25e360..579442f7 100644 --- a/lib/modules/coverage/contract_source.js +++ b/lib/modules/coverage/contract_source.js @@ -294,7 +294,7 @@ class ContractSource { // Try to match the contract to the bytecode. If it doesn't, // then we bail. contractMatches = trace.structLogs.every((step) => { return bytecode[step.pc]; }); - if(!contractMatches) break; + if(!contractMatches) continue; trace.structLogs.forEach((step) => { step = bytecode[step.pc];