fix: set new risk score errors as passable error codes

This commit is contained in:
José Oliveira 2022-05-04 17:00:58 +01:00
parent 4d520f2c24
commit 03ae3b74e7
3 changed files with 3 additions and 4 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']
const TX_PASSTHROUGH_ERROR_CODES = ['operatorCancel', 'scoreThresholdReached', 'ciphertraceError']
function filterTransaction () {
const sql = `EXPLAIN ANALYZE