From 7386cf137635367a504a9e73fdb42e6b00b754e6 Mon Sep 17 00:00:00 2001 From: Pavol Noha Date: Wed, 15 Nov 2023 07:57:05 +0100 Subject: [PATCH] Fix typing --- packages/sdk/src/pool/PoolClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk/src/pool/PoolClient.ts b/packages/sdk/src/pool/PoolClient.ts index 6ab471e7..30bed0f7 100644 --- a/packages/sdk/src/pool/PoolClient.ts +++ b/packages/sdk/src/pool/PoolClient.ts @@ -65,7 +65,7 @@ export abstract class PoolClient extends BalanceClient { return this.subscribeTokenBalance( pool.address, pool.tokens.map((t) => t.id), - this.updateBalanceCallback(pool, 'token', (p, t) => p.id !== t) + this.updateBalanceCallback(pool, 'tokens', (p, t) => p.id !== t) ); }