mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Fix lint errors (#190)
* use increment and decrement operators. * remove unnecessary else branches. * fix receiver names. * remove omittable code. * fix dot imports.
This commit is contained in:
committed by
Anton Kaliaev
parent
a557bb4d0b
commit
ee67e34519
@@ -129,7 +129,6 @@ func bz(s string) []byte {
|
||||
func nonNilBytes(bz []byte) []byte {
|
||||
if bz == nil {
|
||||
return []byte{}
|
||||
} else {
|
||||
return bz
|
||||
}
|
||||
return bz
|
||||
}
|
||||
|
Reference in New Issue
Block a user