diff --git a/pkg/p2p/libp2p/stream_test.go b/pkg/p2p/libp2p/stream_test.go index 9aab9c1f3a3..467d239b172 100644 --- a/pkg/p2p/libp2p/stream_test.go +++ b/pkg/p2p/libp2p/stream_test.go @@ -79,7 +79,6 @@ func TestStreamVersion(t *testing.T) { if v == nil { t.Fatal("expected version to be non-nil") - return } expected := semver.Version{Major: tc.wantMajor, Minor: tc.wantMinor}