Ignore status difference(e=Unknown,r=MethodNotPayable)
@@ -56,6 +56,10 @@ func CheckStatus(logger log.Logger, s1, s2 module.Status) error {
logger.Warnf("Ignore status difference(e=%s,r=%s)", s1, s2)
return nil
}
+ if s1 == module.StatusUnknownFailure && s2 == module.StatusMethodNotPayable {
+ logger.Warnf("Ignore status difference(e=%s,r=%s)", s1, s2)
+ return nil
+ }
return errors.InvalidStateError.Errorf("InvalidStatus(e=%s,r=%s)", s1, s2)
}
