Skip to content

Commit

Permalink
Fix stableswap fee mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav committed Nov 14, 2023
1 parent 3dfb886 commit 96df05d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sdk/src/pool/stable/StableSwapClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
PoolFees,
PoolToken,
} from '../../types';
import { toPoolFee } from '../../utils/mapper';

import { StableMath } from './StableMath';
import { StableSwapBase, StableSwapFees } from './StableSwap';
Expand Down Expand Up @@ -47,7 +48,7 @@ export class StableSwapClient extends PoolClient {
address: poolAddress,
id: poolId,
type: PoolType.Stable,
fee: pool.fee.toJSON() as PoolFee,
fee: toPoolFee(pool.fee.toNumber()),
tokens: poolTokens,
...poolDelta,
...this.getPoolLimits(),
Expand Down

0 comments on commit 96df05d

Please sign in to comment.