diff --git a/lib/postgresql_interface.js b/lib/postgresql_interface.js index fd321a95..3a4e4d71 100644 --- a/lib/postgresql_interface.js +++ b/lib/postgresql_interface.js @@ -191,6 +191,9 @@ function normalizeTx (tx) { tx.satoshis = undefined tx.session_id = undefined + // Eventually turn this into BigDecimal, for now, integer + tx.fiat = parseInt(tx.fiat, 10) + return tx }