[#505] morph/container: Fix setting of SetEACL arguments in wrapper

Extended ACL table and its signature were mixed up.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-25 17:34:16 +03:00 committed by Alex Vanin
parent 6d9cc0dc60
commit 0282994f3e

View file

@ -81,9 +81,9 @@ func (w *Wrapper) PutEACLBinary(table, key, sig []byte) error {
}
args := client.SetEACLArgs{}
args.SetSignature(table)
args.SetSignature(sig)
args.SetPublicKey(key)
args.SetEACL(sig)
args.SetEACL(table)
return w.client.SetEACL(args)
}