fix: add operator cancel error as cancelled tx state
This commit is contained in:
parent
86e9204a28
commit
66f79481a2
2 changed files with 3 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ const WALLET_SCORE_THRESHOLD = 10
|
|||
|
||||
const TRANSACTION_STATES = `
|
||||
case
|
||||
when operator_completed then 'Cancelled'
|
||||
when operator_completed and error = 'Operator cancel' then 'Cancelled'
|
||||
when error is not null then 'Error'
|
||||
when send_confirmed then 'Sent'
|
||||
when ((not send_confirmed) and (created <= now() - interval '${PENDING_INTERVAL}')) then 'Expired'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue