[#660] services/netmap: Don't call IsSupportedVersion in LocalNodeInfo

Clients can have version later than the server. The server should not deny
these clients.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/fyrchik/meta-pebble
Leonard Lyubich 2021-07-02 08:49:06 +03:00 committed by Alex Vanin
parent d610346a7b
commit 8192933313
1 changed files with 0 additions and 3 deletions

View File

@ -47,9 +47,6 @@ func (s *executorSvc) LocalNodeInfo(
_ context.Context,
req *netmap.LocalNodeInfoRequest) (*netmap.LocalNodeInfoResponse, error) {
ver := pkg.NewVersionFromV2(req.GetMetaHeader().GetVersion())
if err := pkg.IsSupportedVersion(ver); err != nil {
return nil, err
}
ni, err := s.state.LocalNodeInfo()
if err != nil {