From edfdc4274a0bd156fbee423d1de4a2f8b382a56e Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 26 May 2021 12:59:16 +0300 Subject: [PATCH] [#525] morph/container: Pass session token to Delete call Pass session token (byte array) argument to `Delete` method call of `Container` contract. Signed-off-by: Leonard Lyubich --- pkg/morph/client/container/delete.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/morph/client/container/delete.go b/pkg/morph/client/container/delete.go index 162f02329..1556643e5 100644 --- a/pkg/morph/client/container/delete.go +++ b/pkg/morph/client/container/delete.go @@ -10,6 +10,8 @@ type DeleteArgs struct { cid []byte // container identifier sig []byte // container identifier signature + + token []byte // binary session token } // SetCID sets the container identifier @@ -31,6 +33,7 @@ func (c *Client) Delete(args DeleteArgs) error { c.deleteMethod, args.cid, args.sig, + args.token, ) if err != nil {