mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-12 06:44:37 +00:00
Merge pull request #898 from embark-framework/bugfix/fix-contract-matching
Fix contract matching
This commit is contained in:
commit
13ab52125a
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user