feat: add extra (optional) logging

This commit is contained in:
André Sá 2022-03-09 16:23:17 +00:00
parent 348260931e
commit 288920b927
3 changed files with 10 additions and 2 deletions

View file

@ -28,6 +28,7 @@ end`
module.exports = {post, monitorPending, cancel, PENDING_INTERVAL, TRANSACTION_STATES}
function post (machineTx, pi) {
logger.silly('Updating cashin tx:', machineTx)
return cashInAtomic.atomic(machineTx, pi)
.then(r => {
const updatedTx = r.tx