fix: DB doesn't like bn.js numbers
This commit is contained in:
parent
ce8295e54a
commit
e0d8f7c24d
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue