fix: wrong error code
This commit is contained in:
parent
cf38f09b62
commit
a037ecdbec
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue