This commit is contained in:
parent
1f6e188251
commit
20cd8a23ea
@ -1212,7 +1212,7 @@ export class Interface {
|
|||||||
*
|
*
|
||||||
* If the matching event cannot be found, returns null.
|
* If the matching event cannot be found, returns null.
|
||||||
*/
|
*/
|
||||||
parseLog(log: { topics: Array<string>, data: string}): null | LogDescription {
|
parseLog(log: { topics: ReadonlyArray<string>, data: string}): null | LogDescription {
|
||||||
const fragment = this.getEvent(log.topics[0]);
|
const fragment = this.getEvent(log.topics[0]);
|
||||||
|
|
||||||
if (!fragment || fragment.anonymous) { return null; }
|
if (!fragment || fragment.anonymous) { return null; }
|
||||||
|
Loading…
Reference in New Issue
Block a user