Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e77cda6

Browse files
committedJun 27, 2015
mock: fix notif test
License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
1 parent 6b8e9f5 commit e77cda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎p2p/net/mock/mock_notif_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestNotifications(t *testing.T) {
5252
case <-time.After(timeout):
5353
t.Fatal("timeout")
5454
}
55-
for _, c2 := range cos {
55+
for _, c2 := range s.ConnsToPeer(s2.LocalPeer()) {
5656
if c == c2 {
5757
t.Log("got notif for conn")
5858
return

0 commit comments

Comments
 (0)
Please sign in to comment.