Fix contract matching
This commit is contained in:
parent
9ed08f234d
commit
e952bbc41a
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue