Skip to content

Commit

Permalink
fix events
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Sep 6, 2023
1 parent 8190640 commit bef213b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centrifuge-js/src/modules/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1153,8 +1153,8 @@ export function getPoolsModule(inst: Centrifuge) {
)
if (!event) return false

const [accountId] = (event.toJSON() as any).event.data
return addressSet.has(accountId)
const [accountId] = (event.toHuman() as any).event.data
return addressSet.has(addressToHex(accountId))
})
)

Expand Down

0 comments on commit bef213b

Please sign in to comment.