refactor CHORUS

This commit is contained in:
anthonyrawlins
2025-09-06 14:47:41 +10:00
parent 9bdcbe0447
commit b6634e4c1b
16 changed files with 225 additions and 225 deletions

View File

@@ -131,9 +131,9 @@ func WithPubsub(enabled bool) Option {
}
// WithTopics sets the Bzzz and HMMM topic names
func WithTopics(bzzzTopic, hmmmTopic string) Option {
func WithTopics(chorusTopic, hmmmTopic string) Option {
return func(c *Config) {
c.BzzzTopic = bzzzTopic
c.BzzzTopic = chorusTopic
c.HmmmTopic = hmmmTopic
}
}