From fb4e328171031a7d141926c58b0347579478377a Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 26 May 2021 19:23:00 +0300 Subject: [PATCH] [#525] morph/container: Remove binding key argument from Put call `bindKey` parameter of `Put` method of `Container` contract was removed in latest version. Do not pass bind key of type `[]byte` to `Put` invocation. Remove no longer needed field from `PutArgs`. Signed-off-by: Leonard Lyubich --- pkg/morph/client/container/put.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/morph/client/container/put.go b/pkg/morph/client/container/put.go index 5b53c762a..5852dbb07 100644 --- a/pkg/morph/client/container/put.go +++ b/pkg/morph/client/container/put.go @@ -14,8 +14,6 @@ type PutArgs struct { publicKey []byte // public key of container owner token []byte // binary session token - - bindKey bool // bind key to account or not } // SetPublicKey sets the public key of container owner @@ -52,7 +50,6 @@ func (c *Client) Put(args PutArgs) error { args.sig, args.publicKey, args.token, - args.bindKey, ) if err != nil {