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:
parent
d3a7cb1ccc
commit
ddc21f69bc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue