Prevent a single malformed event from preventing other Contract logs; reported on Discord.
This commit is contained in:
parent
5a56fc36d7
commit
b1375f4e44
@ -904,10 +904,12 @@ export class BaseContract implements Addressable, EventEmitterable<ContractEvent
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (foundFragment) {
|
if (foundFragment) {
|
||||||
return new EventLog(log, this.interface, foundFragment);
|
try {
|
||||||
} else {
|
return new EventLog(log, this.interface, foundFragment);
|
||||||
return new Log(log, provider);
|
} catch (error) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return new Log(log, provider);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user