[#733] morph: Fix delete container signature check

Committed invalid condition, it was just for debug.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
feature/prm_balance_get
Dmitrii Stepanov 2023-10-19 18:01:19 +03:00
parent 189dbb01be
commit dc4d27201b
1 changed files with 1 additions and 1 deletions

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
}