Skip to content

Commit 85d7bb3

Browse files
committed
fix: native check
1 parent aa68da8 commit 85d7bb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdk/pools/PoolService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class PoolService extends SDKConstruct implements IPoolsService {
9696
}
9797

9898
const { zapper } = meta;
99-
if (zapper?.tokenIn.addr === NATIVE_ADDRESS) {
99+
if (zapper?.tokenIn.addr?.toLowerCase() === NATIVE_ADDRESS.toLowerCase()) {
100100
return {
101101
target: zapper.baseParams.addr,
102102
abi: iethZapperDepositsAbi,

0 commit comments

Comments
 (0)