mirror of
https://github.com/basicswap/basicswap.git
synced 2025-05-05 04:12:16 +00:00
Shorten lookupFiatRates debug message.
This commit is contained in:
parent
6d68026808
commit
7c17ff2dd2
1 changed files with 3 additions and 1 deletions
|
@ -11132,7 +11132,9 @@ class BasicSwap(BaseApp):
|
||||||
rate_source: str = "coingecko.com",
|
rate_source: str = "coingecko.com",
|
||||||
saved_ttl: int = 300,
|
saved_ttl: int = 300,
|
||||||
):
|
):
|
||||||
self.log.debug(f"lookupFiatRates {coins_list}.")
|
if self.debug:
|
||||||
|
coins_list_display = ", ".join([Coins(c).name for c in coins_list])
|
||||||
|
self.log.debug(f"lookupFiatRates {coins_list_display}.")
|
||||||
ensure(len(coins_list) > 0, "Must specify coin/s")
|
ensure(len(coins_list) > 0, "Must specify coin/s")
|
||||||
ensure(saved_ttl >= 0, "Invalid saved time")
|
ensure(saved_ttl >= 0, "Invalid saved time")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue