[#202] *: remove owner from contract storage

It is no longer used and should've be removed on update.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-12-27 10:15:36 +03:00 committed by Alex Vanin
parent c1adea2484
commit 1944a4332b
8 changed files with 18 additions and 10 deletions

View file

@ -83,6 +83,7 @@ func _deploy(data interface{}, isUpdate bool) {
}
if isUpdate {
storage.Delete(ctx, common.LegacyOwnerKey)
return
}