fix: DB doesn't like bn.js numbers

This commit is contained in:
siiky 2022-10-10 16:05:37 +01:00 committed by Rafael
parent ce8295e54a
commit e0d8f7c24d
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ function massage (tx, pi) {
: {
cryptoAtoms: new BN(r.cryptoAtoms),
fiat: new BN(r.fiat),
cashOutFee: new BN(r.cashOutFee),
fixedFee: new BN(r.fixedFee),
rawTickerPrice: r.rawTickerPrice ? new BN(r.rawTickerPrice) : null,
commissionPercentage: new BN(r.commissionPercentage)
}