[#607] network: Remove no longer needed GroupFromAddress function
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e3eade619d
commit
359bbe319a
1 changed files with 0 additions and 7 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue