From dc4d27201bc36cd9983e559028ebd4400f7703b3 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Thu, 19 Oct 2023 18:01:19 +0300 Subject: [PATCH] [#733] morph: Fix delete container signature check Committed invalid condition, it was just for debug. Signed-off-by: Dmitrii Stepanov --- pkg/morph/client/container/delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/morph/client/container/delete.go b/pkg/morph/client/container/delete.go index c1d346e7..b520120d 100644 --- a/pkg/morph/client/container/delete.go +++ b/pkg/morph/client/container/delete.go @@ -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 }