From 53441e7c2aa287c0937c77fb7ab4d7ef6c87852b Mon Sep 17 00:00:00 2001 From: Serhii Date: Tue, 30 Jan 2024 15:09:46 +0200 Subject: [PATCH] minor fix --- lib/exchange/provider/thorchain_exchange.provider.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/exchange/provider/thorchain_exchange.provider.dart b/lib/exchange/provider/thorchain_exchange.provider.dart index bd1084765..249d221d4 100644 --- a/lib/exchange/provider/thorchain_exchange.provider.dart +++ b/lib/exchange/provider/thorchain_exchange.provider.dart @@ -25,7 +25,6 @@ class ThorChainExchangeProvider extends ExchangeProvider { CryptoCurrency.btc, CryptoCurrency.eth, CryptoCurrency.ltc, - CryptoCurrency.bch, ].contains(element)) .toList()) ]; @@ -79,6 +78,8 @@ class ThorChainExchangeProvider extends ExchangeProvider { 'from_asset': _normalizeCurrency(from), 'to_asset': _normalizeCurrency(to), 'amount': AmountConverter.amountToSmallestUnit(cryptoCurrency: from, amount: 1).toString(), + 'affiliate': _affiliateName, + 'affiliate_bps': _affiliateBps }; final responseJSON = await _getSwapQuote(params); @@ -141,7 +142,6 @@ class ThorChainExchangeProvider extends ExchangeProvider { }; final responseJSON = await _getSwapQuote(params); - print(responseJSON); final expectedAmountOutString = responseJSON['expected_amount_out'] as String? ?? '0'; final expectedAmountOut = double.parse(expectedAmountOutString);