diff --git a/pkg/innerring/processors/container/process_eacl.go b/pkg/innerring/processors/container/process_eacl.go index 590a4e0d6..4f113167d 100644 --- a/pkg/innerring/processors/container/process_eacl.go +++ b/pkg/innerring/processors/container/process_eacl.go @@ -69,7 +69,7 @@ func (cp *Processor) checkEACLOwnership(binTable []byte, key *keys.PublicKey) er } func (cp *Processor) approveSetEACL(e container.SetEACL) { - err := cp.cnrClient.PutEACLBinary(e.Table(), e.PublicKey(), e.Signature()) + err := cp.cnrClient.PutEACL(e.Table(), e.PublicKey(), e.Signature()) if err != nil { cp.log.Error("could not approve set EACL", zap.String("error", err.Error()), diff --git a/pkg/morph/client/container/wrapper/eacl.go b/pkg/morph/client/container/wrapper/eacl.go index 36f9b5887..ba98b8e4a 100644 --- a/pkg/morph/client/container/wrapper/eacl.go +++ b/pkg/morph/client/container/wrapper/eacl.go @@ -68,14 +68,14 @@ func PutEACL(w *Wrapper, table *eacl.Table, sig *pkg.Signature) error { return fmt.Errorf("can't marshal eacl table: %w", err) } - return w.PutEACLBinary(data, sig.Key(), sig.Sign()) + return w.PutEACL(data, sig.Key(), sig.Sign()) } -// PutEACLBinary save binary eACL table with its key and signature +// PutEACL saves binary eACL table with its key and signature // in NeoFS system through Container contract call. // // Returns any error encountered that caused the saving to interrupt. -func (w *Wrapper) PutEACLBinary(table, key, sig []byte) error { +func (w *Wrapper) PutEACL(table, key, sig []byte) error { if len(sig) == 0 || len(key) == 0 { return errNilArgument }