rename cartridge to cassette

This commit is contained in:
Josh Harvey 2017-04-24 01:20:00 +03:00
parent cc32bc39e8
commit 8674816d27
9 changed files with 67 additions and 66 deletions

View file

@ -169,11 +169,10 @@ function registerTrades (pi, txVector) {
function logAction (rec, tx) {
const action = {
tx_id: tx.id,
action: 'sendCoins',
action: tx.sendCompleted ? 'sendCoins' : 'sendCoinsError',
error: rec.error,
error_code: rec.errorCode,
tx_hash: rec.txHash,
success: rec.sendConfirmed === true
tx_hash: rec.txHash
}
const sql = pgp.helpers.insert(action, null, 'cash_in_actions')