diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f45632c85..721626360b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ Changelog for NeoFS Node - Optimized netmap caching in node (#3966) - Store in metabase associated object ID in bytes instead of Base58 (#3971) - Optimized local RANGE request execution (#3967) +- SN pushes URI-style endpoints to netmap instead of multiaddr (#3982) ### Removed - `policer.max_workers` configuration (#3920) diff --git a/pkg/network/group.go b/pkg/network/group.go index a259e6ef1f..baacaaec13 100644 --- a/pkg/network/group.go +++ b/pkg/network/group.go @@ -126,7 +126,7 @@ func WriteToNodeInfo(g AddressGroup, ni *netmap.NodeInfo) { for addr := range slices.Values(g) { ni.SetNetworkEndpoints() - addrs = append(addrs, addr.String()) + addrs = append(addrs, addr.URIAddr()) } ni.SetNetworkEndpoints(addrs...)