[#121] container: Do not fail on deleting non-existent container
Signed-off-by: Alex Vanin <alexey@nspcc.ru>enable-notary-in-public-chains
parent
b2f6fb641a
commit
cb385c920f
|
@ -213,7 +213,7 @@ func Delete(containerID []byte, signature interop.Signature, token []byte) {
|
|||
|
||||
ownerID := getOwnerByID(ctx, containerID)
|
||||
if len(ownerID) == 0 {
|
||||
panic("delete: container does not exist")
|
||||
return
|
||||
}
|
||||
|
||||
var ( // for invocation collection without notary
|
||||
|
|
Loading…
Reference in New Issue