diff --git a/netmap/netmap_contract.go b/netmap/netmap_contract.go index eac639d..3457505 100644 --- a/netmap/netmap_contract.go +++ b/netmap/netmap_contract.go @@ -130,14 +130,7 @@ func _deploy(data interface{}, isUpdate bool) { // initialize the way to collect signatures storage.Put(ctx, notaryDisabledKey, args.notaryDisabled) if args.notaryDisabled { - var irList []common.IRNode - - for i := 0; i < len(args.keys); i++ { - key := args.keys[i] - irList = append(irList, common.IRNode{PublicKey: key}) - } - - common.SetSerialized(ctx, innerRingKey, irList) + common.SetSerialized(ctx, innerRingKey, args.keys) common.InitVote(ctx) runtime.Log("netmap contract notary disabled") }