From a94e53790645276ac9af3cb6cc640529113a39f5 Mon Sep 17 00:00:00 2001 From: Nate Maninger Date: Sun, 1 Sep 2024 21:40:39 -0700 Subject: [PATCH] cmd: enable anagami --- cmd/explored/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/explored/main.go b/cmd/explored/main.go index 2b0591f3..58a46d6c 100644 --- a/cmd/explored/main.go +++ b/cmd/explored/main.go @@ -270,8 +270,11 @@ func main() { case "zen": network, genesisBlock = chain.TestnetZen() cfg.Syncer.Peers = append(cfg.Syncer.Peers, syncer.ZenBootstrapPeers...) + case "anagami": + network, genesisBlock = chain.TestnetAnagami() + cfg.Syncer.Peers = append(cfg.Syncer.Peers, syncer.AnagamiBootstrapPeers...) default: - log.Fatal("network must be 'mainnet' or 'zen'", zap.String("network", cfg.Consensus.Network)) + log.Fatal("network must be 'mainnet', 'zen', or 'anagami'", zap.String("network", cfg.Consensus.Network)) } bdb, err := coreutils.OpenBoltChainDB(filepath.Join(cfg.Directory, "consensus.db"))