fix: migrate old error codes

This commit is contained in:
Rafael Taranto 2024-05-29 10:33:03 +01:00
parent 501da5f54a
commit ea92fa5c6d
4 changed files with 16 additions and 7 deletions

View file

@ -4,7 +4,7 @@ const _ = require('lodash/fp')
const cashInTx = require('../../lib/cash-in/cash-in-tx')
const { CASH_OUT_TRANSACTION_STATES, REDEEMABLE_AGE } = require('../../lib/cash-out/cash-out-helper')
const TX_PASSTHROUGH_ERROR_CODES = ['operatorCancel', 'scoreThresholdReached', 'ciphertraceError']
const TX_PASSTHROUGH_ERROR_CODES = ['operatorCancel', 'scoreThresholdReached']
function filterTransaction () {
const sql = `EXPLAIN ANALYZE