mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-07 15:23:08 +00:00
fix typo
Co-Authored-By: Yusef Napora <yusef@protocol.ai>
This commit is contained in:
parent
213da1cf8c
commit
5a7a4fcf84
@ -154,7 +154,7 @@ func (v *validation) AddValidator(req *addValReq) {
|
|||||||
validator = v
|
validator = v
|
||||||
|
|
||||||
default:
|
default:
|
||||||
req.resp <- fmt.Errorf("Unknown validator type for topic %s; must be an instance of Validator or ValiatorEx", topic)
|
req.resp <- fmt.Errorf("Unknown validator type for topic %s; must be an instance of Validator or ValidatorEx", topic)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user