diff --git a/lib/cash-in-tx.js b/lib/cash-in-tx.js index f66e7270..4f93c447 100644 --- a/lib/cash-in-tx.js +++ b/lib/cash-in-tx.js @@ -25,7 +25,7 @@ function post (tx, pi) { return db.tx(transaction) .then(txVector => { const [, newTx] = txVector - postProcess(txVector, pi) + return postProcess(txVector, pi) .then(changes => update(newTx, changes)) }) }