[#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:
Dmitrii Stepanov 2023-10-19 18:01:19 +03:00
parent 189dbb01be
commit dc4d27201b

View file

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