fix: wrong error code

This commit is contained in:
Sérgio Salgado 2023-06-01 14:08:02 +01:00
parent cf38f09b62
commit a037ecdbec

View file

@ -21,7 +21,7 @@ function postTx (req, res, next) {
case 'InsufficientFundsError':
throw httpError(tx.error, 570)
case 'scoreThresholdReached':
throw httpError(tx.error, 570)
throw httpError(tx.error, 571)
case 'ciphertraceError':
throw httpError(tx.error, 572)
default: