Fix bug causing issue updated timestamp to be incorrectly updated

Token balances were being stored in Postgres as double and
multisig/token-balance was returning the value as a float. This caused
equality comparisons to fail for equal balances, leading to erroneusly
updating github comments and issue updated timestamps.
This commit is contained in:
Teemu Patja 2017-11-01 15:37:54 +02:00
parent d3a7cb1ccc
commit ddc21f69bc
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@
(Math/pow 10 token-base)
token-base)]
(assert (> base 0))
(float (/ value base))))
(double (/ value base))))
(defn token-balance-in-bounty