mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
fix lint failures with 1.31 (#5489)
This commit is contained in:
@@ -46,14 +46,17 @@ func main() {
|
||||
if err == nil {
|
||||
_, err = os.Stdout.Write([]byte("\n"))
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
if endMsg, ok := msg.Msg.(cs.EndHeightMessage); ok {
|
||||
_, err = os.Stdout.Write([]byte(fmt.Sprintf("ENDHEIGHT %d\n", endMsg.Height)))
|
||||
}
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
fmt.Println("Failed to write message", err)
|
||||
os.Exit(1)
|
||||
os.Exit(1) //nolint:gocritic
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user