[#622] pkg/innerring: Change `NodeValidator` interface description

Make changes of the `NodeInfo` by implementations
of the `NodeValidator` interface optional.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
support/v0.27
Pavel Karpy 2021-06-18 13:45:29 +03:00 committed by Pavel Karpy
parent 7b3897253c
commit 8ddea8a5ee
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ type (
// of information about the node and its finalization for adding
// to the network map.
NodeValidator interface {
// Must verify and update NodeInfo structure.
// Must verify and optionally update NodeInfo structure.
//
// Must return an error if NodeInfo input is invalid.
// Must return an error if it is not possible to correctly