Skip to content

Commit

Permalink
Revert noisy newline changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iand committed Jul 19, 2021
1 parent d5d60d8 commit 42baadb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions blacklist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func TestMapBlacklist(t *testing.T) {
if !b.Contains(p) {
t.Fatal("peer not in the blacklist")
}

}

func TestTimeCachedBlacklist(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ func (p *PubSub) processLoop(ctx context.Context) {

case s := <-p.newPeerStream:
pid := s.Conn().RemotePeer()

ch, ok := p.peers[pid]

if !ok {
Expand Down

0 comments on commit 42baadb

Please sign in to comment.