fix grammer in option comment
This commit is contained in:
parent
b7b87f0235
commit
5557880eed
@ -236,8 +236,8 @@ func WithMessageAuthor(author peer.ID) Option {
|
|||||||
// WithStrictSignatureVerification enforces message signing. If set, unsigned
|
// WithStrictSignatureVerification enforces message signing. If set, unsigned
|
||||||
// messages will be discarded.
|
// messages will be discarded.
|
||||||
//
|
//
|
||||||
// This currently defaults to false but as we transition to signing by default
|
// This currently defaults to false but, as we transition to signing by default,
|
||||||
// but will eventually default to true.
|
// will eventually default to true.
|
||||||
func WithStrictSignatureVerification(required bool) Option {
|
func WithStrictSignatureVerification(required bool) Option {
|
||||||
return func(p *PubSub) error {
|
return func(p *PubSub) error {
|
||||||
p.signStrict = required
|
p.signStrict = required
|
||||||
|
Loading…
x
Reference in New Issue
Block a user