feat: add fixed fee reporting to CAR
This commit is contained in:
parent
8f5f40032c
commit
77b678e991
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ function mapCoin (info, deviceId, settings, cryptoCode) {
|
|||
|
||||
const cashInFee = showRates ? cryptoConfig.cashInCommission / 100 : null
|
||||
const cashOutFee = showRates ? cryptoConfig.cashOutCommission / 100 : null
|
||||
const cashInFixedFee = showRates ? cryptoConfig.cashInFee : null
|
||||
const cashInRate = showRates ? _.invoke('cashIn.toNumber', rates) : null
|
||||
const cashOutRate = showRates ? _.invoke('cashOut.toNumber', rates) : null
|
||||
|
||||
|
|
@ -36,6 +37,7 @@ function mapCoin (info, deviceId, settings, cryptoCode) {
|
|||
cryptoCode,
|
||||
cashInFee,
|
||||
cashOutFee,
|
||||
cashInFixedFee,
|
||||
cashInRate,
|
||||
cashOutRate
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue