mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update rlpx_test.go
remove useless parameter
This commit is contained in:
parent
a1d5b79ee3
commit
45e93005cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue