Check price is nil
This commit is contained in:
parent
f4e0c69d72
commit
ce87945736
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue