forked from TrueCloudLab/frostfs-contract
[#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:
parent
c1adea2484
commit
1944a4332b
8 changed files with 18 additions and 10 deletions
|
@ -83,6 +83,7 @@ func _deploy(data interface{}, isUpdate bool) {
|
|||
}
|
||||
|
||||
if isUpdate {
|
||||
storage.Delete(ctx, common.LegacyOwnerKey)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue