diff --git a/rpc/test/ws_helpers.go b/rpc/test/ws_helpers.go index c636215c..10617693 100644 --- a/rpc/test/ws_helpers.go +++ b/rpc/test/ws_helpers.go @@ -65,23 +65,6 @@ func waitForEvent(t *testing.T, con *websocket.Conn, eventid string, dieOnTimeou quitCh := make(chan struct{}) defer close(quitCh) - /* - // TODO delete: we moved pinging to the server. - // Write pings repeatedly - go func() { - pingTicker := time.NewTicker((time.Second * rpcserver.WSReadTimeoutSeconds) / 2) - for { - select { - case <-quitCh: - pingTicker.Stop() - return - case <-pingTicker.C: - con.WriteControl(websocket.PingMessage, []byte("whatevs"), time.Now().Add(time.Second)) - } - } - }() - */ - // Read message go func() { for {