Skip to content

Commit 007cc24

Browse files
authored
TW-1285: Exchange rates: remove extra logic that caused worse estimations (#141)
1 parent 7ec70ad commit 007cc24

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/utils/tokens.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,7 @@ const getSwapsByOneToken = async (outputTokenSymbol: string) => {
112112
throw new Error(`Failed to get swaps for 1 ${outputTokenSymbol}`);
113113
}
114114

115-
const directSwap = await getThreeRouteSwap({
116-
inputTokenSymbol: THREE_ROUTE_TEZ_SYMBOL,
117-
outputTokenSymbol,
118-
realAmount: invertedSwap.output
119-
});
120-
121-
return { directSwap, invertedSwap, updatedAt };
115+
return { directSwap: EMPTY_SWAP, invertedSwap, updatedAt };
122116
};
123117

124118
const getSwaps = async (outputTokenSymbol: string) => {

0 commit comments

Comments
 (0)