Update rlpx_test.go

remove useless parameter
This commit is contained in:
ANOTHEL 2019-04-04 12:09:27 +09:00 committed by GitHub
parent a1d5b79ee3
commit 45e93005cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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