mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-19 07:04:25 +01:00
lnd: partially fix golint warnings
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
92dec2a902
commit
fd97a4bd19
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user