network: stub "StateService" payloads out for now

And stop dropping connections if we're to receive them. Proper handling is
subject of #1701, but we need at least some connection-level stability for
now.
This commit is contained in:
Roman Khimov 2021-02-05 14:59:41 +03:00
parent 686f983ccf
commit a87b8578b2

View file

@ -804,6 +804,7 @@ func (s *Server) handleExtensibleCmd(e *payload.Extensible) error {
switch e.Category { switch e.Category {
case consensus.Category: case consensus.Category:
s.consensus.OnPayload(e) s.consensus.OnPayload(e)
case "StateService": // no-op for now
default: default:
return errors.New("invalid category") return errors.New("invalid category")
} }