fix: deprecate cashInFeeCrypto
This commit is contained in:
parent
8daa2a0585
commit
d7a5f05437
6 changed files with 16 additions and 6 deletions
|
|
@ -65,7 +65,7 @@ function getOpenBatchCryptoValue (cryptoCode) {
|
|||
if (_.isNil(batch)) return Promise.resolve([])
|
||||
return db.any(`SELECT * FROM cash_in_txs WHERE batch_id=$1`, [batch.id])
|
||||
})
|
||||
.then(txs => _.reduce((acc, tx) => acc.plus(tx.cash_in_fee_crypto).plus(tx.crypto_atoms), BN(0), txs))
|
||||
.then(txs => _.reduce((acc, tx) => acc.plus(tx.crypto_atoms), BN(0), txs))
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue