fix: cash-out fixed fee name
This commit is contained in:
parent
01b8981bb7
commit
146c173aeb
2 changed files with 5 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ function massage (tx, pi) {
|
|||
: {
|
||||
cryptoAtoms: new BN(r.cryptoAtoms),
|
||||
fiat: new BN(r.fiat),
|
||||
fixedFee: new BN(r.fixedFee),
|
||||
fixedFee: r.cashOutFee ? new BN(r.cashOutFee) : null,
|
||||
rawTickerPrice: r.rawTickerPrice ? new BN(r.rawTickerPrice) : null,
|
||||
commissionPercentage: new BN(r.commissionPercentage)
|
||||
}
|
||||
|
|
@ -51,7 +51,9 @@ function massage (tx, pi) {
|
|||
const mapper = _.flow(
|
||||
transformDates,
|
||||
mapBN,
|
||||
_.unset('dirty'))
|
||||
_.unset('dirty'),
|
||||
_.unset('cashOutFee')
|
||||
)
|
||||
|
||||
return mapper(tx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue