Check price is nil

This commit is contained in:
Andrea Maria Piana 2024-08-16 10:33:38 +01:00
parent f4e0c69d72
commit ce87945736
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
(money/equal-to token-units 0))
"0"
(nil? market-values-per-currency)
(nil? (-> market-values-per-currency :usd :price))
(number/remove-trailing-zeroes (.toFixed token-units missing-price-decimals))
:else