File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ import {
1010 SDKConstruct ,
1111 type TokenMetaData ,
1212} from "../base/index.js" ;
13- import { AddressMap , AddressSet , hexEq , type ZapperData } from "../index.js" ;
13+ import { AddressSet , hexEq , type ZapperData } from "../index.js" ;
14+ import { AddressMap } from "../utils/index.js" ;
1415import type {
1516 AddLiquidityProps ,
1617 DepositMetadata ,
@@ -220,7 +221,10 @@ export class PoolService extends SDKConstruct implements IPoolsService {
220221 ) ;
221222 }
222223
223- return result . asArray ( ) ;
224+ // filter out v2 diesel tokens (can come from migration v2 -> v3 zappers)
225+ const r = result . asArray ( ) . filter ( t => ! POOL_TOKENS_TO_MIGRATE . has ( t ) ) ;
226+
227+ return r ;
224228 }
225229
226230 #depositTokensOut(
@@ -255,9 +259,7 @@ export class PoolService extends SDKConstruct implements IPoolsService {
255259 ) ;
256260 }
257261
258- // filter out v2 diesel tokens (can come from migration v2 -> v3 zappers)
259- const r = result . asArray ( ) . filter ( t => ! POOL_TOKENS_TO_MIGRATE . has ( t ) ) ;
260-
262+ const r = result . asArray ( ) ;
261263 return r ;
262264 }
263265
You can’t perform that action at this time.
0 commit comments