max: use error log instead of warning log for convertion

This commit is contained in:
c9s 2024-09-04 11:20:30 +08:00 committed by lychiyu
parent 5bd806e03e
commit 029906bb2f

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)
} }