waku/v2/protocol/lightpush/pb/validation.go
Method PushRpc.ValidateRequest
has 5 return statements (exceeds 4 allowed). Open
Open
func (x *PushRpc) ValidateRequest() error {
if x.RequestId == "" {
return errMissingRequestID
}
Method PushRpc.ValidateResponse
has 5 return statements (exceeds 4 allowed). Open
Open
func (x *PushRpc) ValidateResponse(requestID string) error {
if x.RequestId == REQUESTID_RATE_LIMITED {
return nil
}
if x.RequestId == "" {