forked from TrueCloudLab/frostfs-node
[#733] morph: Fix delete container signature check
Committed invalid condition, it was just for debug. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
189dbb01be
commit
dc4d27201b
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func (d *DeletePrm) SetKey(key []byte) {
|
|||
//
|
||||
// If TryNotary is provided, calls notary contract.
|
||||
func (c *Client) Delete(p DeletePrm) error {
|
||||
if len(p.signature) == 0 && p.IsControl() {
|
||||
if len(p.signature) == 0 && !p.IsControl() {
|
||||
return errNilArgument
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue