diff --git a/pkg/services/object/acl/eacl/v2/headers.go b/pkg/services/object/acl/eacl/v2/headers.go index ea8408ae5d..dd2163cd76 100644 --- a/pkg/services/object/acl/eacl/v2/headers.go +++ b/pkg/services/object/acl/eacl/v2/headers.go @@ -205,14 +205,14 @@ func (h *cfg) localObjectHeaders(addr *objectSDKAddress.Address) ([]eaclSDK.Head func cidHeader(idCnr cid.ID) sysObjHdr { return sysObjHdr{ k: acl.FilterObjectContainerID, - v: idCnr.String(), + v: idCnr.EncodeToString(), } } func oidHeader(oid objectSDKID.ID) sysObjHdr { return sysObjHdr{ k: acl.FilterObjectID, - v: oid.String(), + v: oid.EncodeToString(), } }