Skip to content

Commit

Permalink
fix: thor trade quote don't filter streaming routes out (#8526)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Jan 10, 2025
1 parent 3a3e369 commit 8bd7ccf
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,7 @@ export const getL1Quote = async (

const perRouteValues = [getRouteValues(swapQuote, false)]

if (
streamingSwapQuote &&
swapQuote.expected_amount_out !== streamingSwapQuote.expected_amount_out
) {
if (streamingSwapQuote) {
perRouteValues.push(getRouteValues(streamingSwapQuote, true))
}

Expand Down

0 comments on commit 8bd7ccf

Please sign in to comment.