From 6d9cc0dc607f3e583a47427bb9e54fb0ee005106 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 25 May 2021 17:15:27 +0300 Subject: [PATCH] [#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 --- pkg/morph/client/container/eacl_set.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/morph/client/container/eacl_set.go b/pkg/morph/client/container/eacl_set.go index 23ea736148..1dcf53f08a 100644 --- a/pkg/morph/client/container/eacl_set.go +++ b/pkg/morph/client/container/eacl_set.go @@ -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 {