rpc: fix lint

This commit is contained in:
Felix Lange 2020-04-02 21:25:59 +02:00 committed by GitHub
parent 792c779892
commit 8659669381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,8 +228,8 @@ func wsPingTestHandler(t *testing.T, conn *websocket.Conn, shutdown, sendPing <-
// Write messages. // Write messages.
var ( var (
wantPong string wantPong string
timer = time.NewTimer(0) timer = time.NewTimer(0)
) )
defer timer.Stop() defer timer.Stop()
<-timer.C <-timer.C