refactor: declutter unnecessary variables
This commit is contained in:
parent
104f9061f9
commit
ef3ba710ff
1 changed files with 2 additions and 2 deletions
|
|
@ -236,8 +236,8 @@ function plugins (settings, deviceId) {
|
|||
if (!cashOutConfig.active) return Promise.resolve()
|
||||
|
||||
return Promise.all([dbm.recyclerCounts(deviceId), cashOutHelper.redeemableTxs(deviceId, excludeTxId)])
|
||||
.then(([{ counts, numberOfRecyclers }, _redeemableTxs]) => {
|
||||
const redeemableTxs = _.reject(_.matchesProperty('id', excludeTxId), _redeemableTxs)
|
||||
.then(([{ counts, numberOfRecyclers }, redeemableTxs]) => {
|
||||
redeemableTxs = _.reject(_.matchesProperty('id', excludeTxId), redeemableTxs)
|
||||
|
||||
const denominations = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue