[#607] *: Do not use deprecated elements of code
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cbe20a2bac
commit
43eff09944
11 changed files with 42 additions and 34 deletions
|
@ -58,7 +58,7 @@ func TestVerifyMultiAddress_Order(t *testing.T) {
|
|||
func constructNodeInfo(address string) *netmap.NodeInfo {
|
||||
ni := new(netmap.NodeInfo)
|
||||
|
||||
ni.SetAddress(address)
|
||||
ni.SetAddresses(address)
|
||||
|
||||
return ni
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue