mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 14:14:30 +00:00
parent
4f98a8b81c
commit
1667b1027d
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ func TestServerDial(t *testing.T) {
|
|||
t.Fatalf("could not setup listener: %v", err)
|
||||
}
|
||||
defer listener.Close()
|
||||
accepted := make(chan net.Conn)
|
||||
accepted := make(chan net.Conn, 1)
|
||||
go func() {
|
||||
conn, err := listener.Accept()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue