ensure ETH always appears first

This commit is contained in:
Martin Klepsch 2018-04-24 12:01:06 +02:00 committed by Tetiana Churikova
parent 2fad56695d
commit 15ef89620a
1 changed files with 1 additions and 1 deletions

View File

@ -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)])))