diff --git a/app/package.json b/app/package.json index 9df45dec7..2c48c3dc8 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "2.14.30", + "version": "2.14.31", "private": true, "scripts": { "bump": "bump patch --tag --commit 'testnet release '", diff --git a/core/src/entities/Pool.ts b/core/src/entities/Pool.ts index 29b1e9273..9a4f372f8 100644 --- a/core/src/entities/Pool.ts +++ b/core/src/entities/Pool.ts @@ -363,13 +363,13 @@ export class CompositePool implements IPool { ? [this.pool1, this.pool2] : [this.pool2, this.pool1]; const firstSwapFee = first.calcProviderFee(x); - const firstSwapOutput = first.calcSwapResult(x); - const secondSwapFee = second.calcProviderFee(firstSwapOutput); + // const firstSwapOutput = first.calcSwapResult(x); + // const secondSwapFee = second.calcProviderFee(firstSwapOutput); const firstSwapFeeInOutputAsset = second.calcSwapResult(firstSwapFee); return AssetAmount( second.otherAsset(firstSwapFee), - firstSwapFeeInOutputAsset.add(secondSwapFee), + firstSwapFeeInOutputAsset.add(firstSwapFeeInOutputAsset), ); } diff --git a/package.json b/package.json index 240abd5ff..bc3e5a448 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sifchain-ui", - "version": "2.14.14", + "version": "2.14.31", "private": true, "license": "UNLICENSED", "packageManager": "yarn@3.2.0",