Skip to content

Commit

Permalink
cmd: enable anagami
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Sep 2, 2024
1 parent 54f434e commit b723690
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/hostd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ func runNode(ctx context.Context, cfg config.Config, walletKey types.PrivateKey,
if cfg.Syncer.Bootstrap {
cfg.Syncer.Peers = append(cfg.Syncer.Peers, syncer.ZenBootstrapPeers...)
}
case "anagami":
network, genesisBlock = chain.TestnetAnagami()
if cfg.Syncer.Bootstrap {
cfg.Syncer.Peers = append(cfg.Syncer.Peers, syncer.AnagamiBootstrapPeers...)
}
default:
return errors.New("invalid network: must be one of 'mainnet' or 'zen'")
}
Expand Down

0 comments on commit b723690

Please sign in to comment.