ensure ETH always appears first
This commit is contained in:
parent
2fad56695d
commit
15ef89620a
|
@ -36,6 +36,6 @@
|
|||
|
||||
(defn crypto-balances [bounty]
|
||||
;; TODO add some assertions
|
||||
(cond-> (:tokens bounty)
|
||||
(cond-> (seq (:tokens bounty))
|
||||
(< 0 (util/parse-float (:balance-eth bounty)))
|
||||
(conj [:ETH (:balance-eth bounty)])))
|
||||
|
|
Loading…
Reference in New Issue