forked from TrueCloudLab/frostfs-contract
[#208] neofs: drop version check
Should be restored after mainnet update. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
74cc2d0aea
commit
d9bfe32847
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue