fix crypto defaults
This commit is contained in:
parent
b6fce47069
commit
6759bec826
3 changed files with 27 additions and 14 deletions
|
|
@ -41,15 +41,11 @@ function atomic (machineTx, pi) {
|
|||
}
|
||||
|
||||
function post (machineTx, pi) {
|
||||
const pp = require('./pp')
|
||||
pp('DEBUG98')(machineTx)
|
||||
|
||||
return db.tx(atomic(machineTx, pi))
|
||||
.then(txVector => {
|
||||
const [, updatedTx] = txVector
|
||||
|
||||
return postProcess(txVector, pi)
|
||||
.then(_.tap(pp('DEBUG99')))
|
||||
.then(changes => update(updatedTx, changes))
|
||||
.then(tx => _.set('bills', machineTx.bills, tx))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue