lnd: partially fix golint warnings

This commit is contained in:
Andrey Samokhvalov
2017-02-23 22:56:47 +03:00
committed by Olaoluwa Osuntokun
parent 92dec2a902
commit fd97a4bd19
38 changed files with 229 additions and 233 deletions

View File

@@ -101,7 +101,7 @@ func (c *CloseRequest) MaxPayloadLength(pver uint32) uint32 {
func (c *CloseRequest) Validate() error {
// Fee must be greater than 0.
if c.Fee < 0 {
return fmt.Errorf("Fee must be greater than zero.")
return fmt.Errorf("fee must be greater than zero")
}
// We're good!