mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-11 06:11:07 +00:00
Drop a redundant select statement.
This commit is contained in:
@@ -329,8 +329,5 @@ func verifyNotImplemented(t *testing.T, label string, f func() (bool, error)) {
|
||||
func waitForInterrupt() {
|
||||
ch := make(chan os.Signal, 1)
|
||||
signal.Notify(ch, os.Interrupt)
|
||||
select {
|
||||
case <-ch:
|
||||
return
|
||||
}
|
||||
<-ch
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user