From b136dae80c115c5c3136da5cee554170142c074a Mon Sep 17 00:00:00 2001 From: Raghav Gulati Date: Wed, 8 May 2019 08:59:47 -0700 Subject: [PATCH] Remove erroneous subscribe --- floodsub_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/floodsub_test.go b/floodsub_test.go index b123dab..eb353fa 100644 --- a/floodsub_test.go +++ b/floodsub_test.go @@ -978,11 +978,6 @@ func TestImproperlySignedMessageRejected(t *testing.T) { incorrectMessage = []byte("this is the incorrect message") ) - _, err := adversaryPubSub.Subscribe(topic) - if err != nil { - t.Fatal(err) - } - adversarySubscription, err := adversaryPubSub.Subscribe(topic) if err != nil { t.Fatal(err)