WIP
This commit is contained in:
parent
2e584c558d
commit
a64c7be077
3 changed files with 8 additions and 2 deletions
|
|
@ -389,7 +389,11 @@ exports.cashOut = function cashOut (deviceId, tx) {
|
|||
}))
|
||||
}
|
||||
|
||||
exports.dispenseAck = db.addDispense
|
||||
exports.dispenseAck = function (deviceId, tx) {
|
||||
console.log('DEBUG23: %j', tx)
|
||||
const cartridges = cachedConfig.exchanges.settings.cartridges
|
||||
return db.addDispense(deviceId, tx, cartridges)
|
||||
}
|
||||
|
||||
exports.fiatBalance = function fiatBalance (cryptoCode) {
|
||||
const deviceRate = exports.getDeviceRate(cryptoCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue