diff --git a/p2p/rlpx_test.go b/p2p/rlpx_test.go index 5d89818020..7d36dafeee 100644 --- a/p2p/rlpx_test.go +++ b/p2p/rlpx_test.go @@ -258,7 +258,7 @@ func TestProtocolHandshakeErrors(t *testing.T) { for i, test := range tests { p1, p2 := MsgPipe() go Send(p1, test.code, test.msg) - _, err := readProtocolHandshake(p2, our) + _, err := readProtocolHandshake(p2) if !reflect.DeepEqual(err, test.err) { t.Errorf("test %d: error mismatch: got %q, want %q", i, err, test.err) }