Skip to content

Commit

Permalink
Added missing error check in test (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli authored and raulk committed Jul 22, 2019
1 parent 169f2d4 commit c73d2b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions p2p/host/relay/autorelay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ func TestAutoRelay(t *testing.T) {
t.Fatal(err)
}
h4, err := libp2p.New(ctx, libp2p.EnableRelay())
if err != nil {
t.Fatal(err)
}

// verify that we don't advertise relay addrs initially
for _, addr := range h3.Addrs() {
Expand Down

0 comments on commit c73d2b9

Please sign in to comment.