Skip to content

Commit

Permalink
Merge 90c428a into 09c03c2
Browse files Browse the repository at this point in the history
  • Loading branch information
giottus committed Mar 12, 2021
2 parents 09c03c2 + 90c428a commit 37f2f0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.js
Expand Up @@ -68,6 +68,11 @@ export const parseLog = (logs, eventAbis, filter = {}) => {
const filteredAbis = eventAbis.filter(({ anonymous }) => !anonymous)

const parsers = filteredAbis.map(thisAbi => {
// if the key inputs is not found, then ignore the entry
if (!thisAbi.inputs) {
return false
}

const key = JSON.stringify(thisAbi)

if (!cachedParsers[key]) {
Expand Down

0 comments on commit 37f2f0a

Please sign in to comment.