[#505] morph/container: Add SetEACL method arguments

Pass session token (byte array) argument to `SetEACL` method call of
`Container` contract.

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

View file

@ -12,6 +12,8 @@ type SetEACLArgs struct {
sig []byte // eACL table signature
pubkey []byte // binary public key
token []byte // binary session token
}
// SetEACL sets the extended ACL table
@ -40,6 +42,7 @@ func (c *Client) SetEACL(args SetEACLArgs) error {
args.eacl,
args.sig,
args.pubkey,
args.token,
)
if err != nil {