[#208] neofs: delete old OwnerKey
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
d9bfe32847
commit
b8d2569f4d
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue