max: convert v3 DepositStateFailed into rejected
This commit is contained in:
parent
4b74a699f4
commit
cb9f4a0186
|
@ -262,6 +262,9 @@ func toGlobalDepositStatus(a max.DepositState) types.DepositStatus {
|
|||
case max.DepositStateAccepted:
|
||||
return types.DepositSuccess
|
||||
|
||||
case max.DepositStateFailed: // v3 state
|
||||
return types.DepositRejected
|
||||
|
||||
case max.DepositStateProcessing: // v3 states
|
||||
return types.DepositPending
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user