[#603] cmd/node: Remove no longer used BootstrapType enum

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-06-11 13:55:54 +03:00 committed by Alex Vanin
parent 6279b6343f
commit 946d4c4253

View file

@ -161,8 +161,6 @@ type cfgNetmap struct {
startEpoch uint64 // epoch number when application is started
}
type BootstrapType uint32
type cfgNodeInfo struct {
// values from config
localInfo netmap.NodeInfo
@ -204,12 +202,6 @@ type cfgReputation struct {
scriptHash util.Uint160
}
const (
_ BootstrapType = iota
StorageNode
RelayNode
)
func initCfg(path string) *cfg {
var p config.Prm