Skip to content

Commit

Permalink
Revert "Merge branch 'libp2p:master' into peer-filter"
Browse files Browse the repository at this point in the history
This reverts commit 201639b, reversing
changes made to 017e433.
  • Loading branch information
synzhu committed Sep 22, 2021
1 parent 201639b commit 74e4919
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,6 @@ func (p *PubSub) handleIncomingRPC(rpc *RPC) {
for _, subopt := range subs {
t := subopt.GetTopicid()

if !p.peerFilter(rpc.from, t) {
continue
}

if subopt.GetSubscribe() {
tmap, ok := p.topics[t]
if !ok {
Expand Down

0 comments on commit 74e4919

Please sign in to comment.