[#208] neofs: drop version check

Should be restored after mainnet update.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-01-10 17:14:32 +03:00 committed by Alex Vanin
parent 74cc2d0aea
commit d9bfe32847

View file

@ -47,8 +47,9 @@ var (
// _deploy sets up initial alphabet node keys. // _deploy sets up initial alphabet node keys.
func _deploy(data interface{}, isUpdate bool) { func _deploy(data interface{}, isUpdate bool) {
if isUpdate { if isUpdate {
args := data.([]interface{}) // TODO(@fyrchik): restore after mainnet update
common.CheckVersion(args[len(args)-1].(int)) // args := data.([]interface{})
// common.CheckVersion(args[len(args)-1].(int))
ctx := storage.GetContext() ctx := storage.GetContext()
nodes := getNodes(ctx, candidatesKey) nodes := getNodes(ctx, candidatesKey)