[#1687] *: Perform go fmt
using go v1.19
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
37ab26bfa9
commit
30341f2192
25 changed files with 114 additions and 112 deletions
|
@ -52,11 +52,9 @@ func (x NodeEndpointsIterator) NumberOfAddresses() int {
|
|||
//
|
||||
// Correct composition(and order from low to high level)
|
||||
// of protocols:
|
||||
//
|
||||
// 1. dns4/ip4/ip6
|
||||
// 2. tcp
|
||||
// 3. tls(optional, may be absent)
|
||||
//
|
||||
// 1. dns4/ip4/ip6
|
||||
// 2. tcp
|
||||
// 3. tls(optional, may be absent)
|
||||
func VerifyMultiAddress(ni netmap.NodeInfo) error {
|
||||
return iterateParsedAddresses(NodeEndpointsIterator(ni), checkProtocols)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue