[#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 <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-26 19:23:00 +03:00 committed by Leonard Lyubich
parent e1fbc28851
commit fb4e328171

View file

@ -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 {