forked from TrueCloudLab/frostfs-node
[#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:
parent
e1fbc28851
commit
fb4e328171
1 changed files with 0 additions and 3 deletions
|
@ -14,8 +14,6 @@ type PutArgs struct {
|
||||||
publicKey []byte // public key of container owner
|
publicKey []byte // public key of container owner
|
||||||
|
|
||||||
token []byte // binary session token
|
token []byte // binary session token
|
||||||
|
|
||||||
bindKey bool // bind key to account or not
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetPublicKey sets the public key of container owner
|
// SetPublicKey sets the public key of container owner
|
||||||
|
@ -52,7 +50,6 @@ func (c *Client) Put(args PutArgs) error {
|
||||||
args.sig,
|
args.sig,
|
||||||
args.publicKey,
|
args.publicKey,
|
||||||
args.token,
|
args.token,
|
||||||
args.bindKey,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue