mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-08 08:53:12 +00:00
Merge branch 'master' into feat/autoshard-store-api
This commit is contained in:
commit
064af69ef7
@ -67,9 +67,10 @@ func (w *WakuRelay) topicValidator(topic string) func(ctx context.Context, peerI
|
||||
}
|
||||
|
||||
w.topicValidatorMutex.RLock()
|
||||
validators, exists := w.topicValidators[topic]
|
||||
validators := w.topicValidators[topic]
|
||||
validators = append(validators, w.defaultTopicValidators...)
|
||||
w.topicValidatorMutex.RUnlock()
|
||||
exists := len(validators) > 0
|
||||
|
||||
if exists {
|
||||
for _, v := range validators {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user