mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
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…
x
Reference in New Issue
Block a user