refactor CHORUS
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user