[#607] network: Remove no longer needed GroupFromAddress function

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
support/v0.27
Leonard Lyubich 2021-06-23 12:30:31 +03:00 committed by Leonard Lyubich
parent e3eade619d
commit 359bbe319a
1 changed files with 0 additions and 7 deletions

View File

@ -106,13 +106,6 @@ func (x *AddressGroup) FromIterator(iter MultiAddressIterator) (err error) {
return
}
// GroupFromAddress wraps single Address into AddressGroup.
//
// Deprecated: use AddressGroup.FromIterator method.
func GroupFromAddress(addr Address) AddressGroup {
return AddressGroup{addr}
}
// WriteToNodeInfo writes AddressGroup to netmap.NodeInfo structure.
func (x AddressGroup) WriteToNodeInfo(ni *netmap.NodeInfo) {
addrs := make([]string, len(x))