mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-12 23:01:30 +00:00
blockchain v0: lint++
This commit is contained in:
@@ -85,7 +85,10 @@ func (m *Message) Validate() error {
|
||||
return errors.New("negative Height")
|
||||
}
|
||||
if m.GetStatusResponse().Base > m.GetStatusResponse().Height {
|
||||
return fmt.Errorf("base %v cannot be greater than height %v", m.GetStatusResponse().Base, m.GetStatusResponse().Height)
|
||||
return fmt.Errorf(
|
||||
"base %v cannot be greater than height %v",
|
||||
m.GetStatusResponse().Base, m.GetStatusResponse().Height,
|
||||
)
|
||||
}
|
||||
|
||||
case *Message_StatusRequest:
|
||||
|
||||
Reference in New Issue
Block a user