Fix delete container signature check #745

Merged
dstepanov-yadro merged 1 commit from dstepanov-yadro/frostfs-node:fix/remove_container_debugee into master 2023-10-19 15:12:49 +00:00

View file

@ -67,7 +67,7 @@ func (d *DeletePrm) SetKey(key []byte) {
// //
// If TryNotary is provided, calls notary contract. // If TryNotary is provided, calls notary contract.
func (c *Client) Delete(p DeletePrm) error { func (c *Client) Delete(p DeletePrm) error {
if len(p.signature) == 0 && p.IsControl() { if len(p.signature) == 0 && !p.IsControl() {
return errNilArgument return errNilArgument
} }