From 5ef39d73ded0e540687b3cc58ff7a25c6797f29a Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Fri, 18 Aug 2023 22:06:32 +0200 Subject: [PATCH] feat: thor streaming swaps quote --- .../swappers/ThorchainSwapper/utils/getQuote/getQuote.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/swapper/swappers/ThorchainSwapper/utils/getQuote/getQuote.ts b/src/lib/swapper/swappers/ThorchainSwapper/utils/getQuote/getQuote.ts index d1e70ee703d..e9e23c658e0 100644 --- a/src/lib/swapper/swappers/ThorchainSwapper/utils/getQuote/getQuote.ts +++ b/src/lib/swapper/swappers/ThorchainSwapper/utils/getQuote/getQuote.ts @@ -14,6 +14,7 @@ import type { ThornodeQuoteResponseSuccess, } from 'lib/swapper/swappers/ThorchainSwapper/types' import { + DEFAULT_STREAMING_INTERVAL, THORCHAIN_AFFILIATE_NAME, THORCHAIN_FIXED_PRECISION, } from 'lib/swapper/swappers/ThorchainSwapper/utils/constants' @@ -61,6 +62,7 @@ export const getQuote = async ({ destination: parsedReceiveAddress, affiliate_bps: affiliateBps, affiliate: THORCHAIN_AFFILIATE_NAME, + streaming_interval: DEFAULT_STREAMING_INTERVAL, }) const daemonUrl = getConfig().REACT_APP_THORCHAIN_NODE_URL const maybeData = (