From dc6eaa7a5dbdf92fe6e5ef7e89d018850b4721f6 Mon Sep 17 00:00:00 2001 From: Yusef Napora Date: Fri, 8 May 2020 10:12:52 -0400 Subject: [PATCH] fix typo --- pubsub.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubsub.go b/pubsub.go index 480de15..ac3652f 100644 --- a/pubsub.go +++ b/pubsub.go @@ -162,8 +162,8 @@ type PubSubRouter interface { EnoughPeers(topic string, suggested int) bool // AcceptFrom is invoked on any incoming message before pushing it to the validation pipeline // or processing control information. - // Allows routers with internal scoring to vet peers before commiting any processing resources - // to the message and implement an affective graylist. + // Allows routers with internal scoring to vet peers before committing any processing resources + // to the message and implement an effective graylist. AcceptFrom(peer.ID) bool // HandleRPC is invoked to process control messages in the RPC envelope. // It is invoked after subscriptions and payload messages have been processed.