Fix contract matching

This commit is contained in:
Andre Medeiros 2018-09-23 18:40:51 -04:00
parent 9ed08f234d
commit e952bbc41a
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class ContractSource {
// Try to match the contract to the bytecode. If it doesn't, // Try to match the contract to the bytecode. If it doesn't,
// then we bail. // then we bail.
contractMatches = trace.structLogs.every((step) => { return bytecode[step.pc]; }); contractMatches = trace.structLogs.every((step) => { return bytecode[step.pc]; });
if(!contractMatches) break; if(!contractMatches) continue;
trace.structLogs.forEach((step) => { trace.structLogs.forEach((step) => {
step = bytecode[step.pc]; step = bytecode[step.pc];