[#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>
remotes/KirillovDenis/release/v0.21.1
Leonard Lyubich 2021-05-25 17:15:27 +03:00 committed by Alex Vanin
parent cf40e19985
commit 6d9cc0dc60
1 changed files with 3 additions and 0 deletions

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 {