[#208] neofs: delete old OwnerKey

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
remotes/1719329119662467860/v0.14.1-hotfix
Evgenii Stratonikov 2022-01-10 17:16:50 +03:00 committed by Alex Vanin
parent d9bfe32847
commit b8d2569f4d
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ func _deploy(data interface{}, isUpdate bool) {
// common.CheckVersion(args[len(args)-1].(int))
ctx := storage.GetContext()
// TODO(@fyrchik): remove after mainnet update
storage.Delete(ctx, common.LegacyOwnerKey)
nodes := getNodes(ctx, candidatesKey)
storage.Delete(ctx, candidatesKey)