diff --git a/centrifuge-js/src/modules/pools.ts b/centrifuge-js/src/modules/pools.ts index dde7b0f18e..661086e9a7 100644 --- a/centrifuge-js/src/modules/pools.ts +++ b/centrifuge-js/src/modules/pools.ts @@ -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)) }) )