pull fiat as integer from db

This commit is contained in:
Josh Harvey 2016-07-26 21:31:38 +03:00
parent 5481ddbead
commit 2cea20a82f

View file

@ -191,6 +191,9 @@ function normalizeTx (tx) {
tx.satoshis = undefined tx.satoshis = undefined
tx.session_id = undefined tx.session_id = undefined
// Eventually turn this into BigDecimal, for now, integer
tx.fiat = parseInt(tx.fiat, 10)
return tx return tx
} }