max: use error log instead of warning log for convertion

This commit is contained in:
c9s 2024-09-04 11:20:30 +08:00
parent d404b20bd1
commit f27afac77b
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -295,7 +295,7 @@ func toGlobalDepositStatus(a max.DepositState) types.DepositStatus {
// other states goes to this // other states goes to this
// max.DepositStateSuspect, max.DepositStateSuspended // max.DepositStateSuspect, max.DepositStateSuspended
log.Warnf("unsupported deposit state %q from max exchange", a) log.Errorf("unsupported deposit state %q from max exchange", a)
return types.DepositStatus(a) return types.DepositStatus(a)
} }