fix: undefined variable
This commit is contained in:
parent
4793b2a415
commit
7f2651fa9e
1 changed files with 7 additions and 7 deletions
|
|
@ -60,7 +60,6 @@ function post (machineTx, pi) {
|
|||
addressReuse = true
|
||||
}
|
||||
return postProcess(r, pi, isBlacklisted, addressReuse, walletScore)
|
||||
})
|
||||
.then(changes => _.set('walletScore', _.isNil(walletScore) ? null : walletScore.score, changes))
|
||||
.then(changes => cashInLow.update(db, updatedTx, changes))
|
||||
.then(tx => _.set('bills', machineTx.bills, tx))
|
||||
|
|
@ -69,6 +68,7 @@ function post (machineTx, pi) {
|
|||
.then(tx => _.set('addressReuse', addressReuse, tx))
|
||||
.then(tx => _.set('validWalletScore', _.isNil(walletScore) ? true : walletScore.isValid, tx))
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
function registerTrades (pi, r) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue