From 87ef34fadbee528bde82a9854446f6564acf406c Mon Sep 17 00:00:00 2001 From: ANOTHEL Date: Fri, 5 Apr 2019 16:29:49 +0900 Subject: [PATCH] Update rlpx_test.go remove useless parameter --- p2p/rlpx_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/p2p/rlpx_test.go b/p2p/rlpx_test.go index 7d36dafeee..a4adcc319e 100644 --- a/p2p/rlpx_test.go +++ b/p2p/rlpx_test.go @@ -221,8 +221,7 @@ func TestProtocolHandshake(t *testing.T) { wg.Wait() } -func TestProtocolHandshakeErrors(t *testing.T) { - our := &protoHandshake{Version: 3, Caps: []Cap{{"foo", 2}, {"bar", 3}}, Name: "quux"} +func TestProtocolHandshakeErrors(t *testing.T) { tests := []struct { code uint64 msg interface{}