From 46d0bdde4b6216ac3bc3cc9cc0898b4fa380e686 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Tue, 7 May 2024 20:35:22 +0200 Subject: [PATCH] Fix rate lookups. --- basicswap/basicswap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index 7705e14..f9c0a2e 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -7375,7 +7375,7 @@ class BasicSwap(BaseApp): return self._is_encrypted, self._is_locked def lookupRates(self, coin_from, coin_to, output_array=False): - self.log.debug('lookupRates {}, {}'.format(coin_from, Coins(coin_to).name)) + self.log.debug('lookupRates {}, {}'.format(Coins(int(coin_from)).name, Coins(int(coin_to)).name)) rate_sources = self.settings.get('rate_sources', {}) ci_from = self.ci(int(coin_from))