lnd: partially fix golint warnings
This commit is contained in:
1 parent
92dec2a902
commit
fd97a4bd19
38 files changed
+229
-233
No files matched your search
@@ -126,7 +126,7 @@ func (c *UpdateAddHTLC) Validate() error {
|
||||
if c.Amount < 0 {
|
||||
// While fees can be negative, it's too confusing to allow
|
||||
// negative payments. Maybe for some wallets, but not this one!
|
||||
return fmt.Errorf("Amount paid cannot be negative.")
|
||||
return fmt.Errorf("amount paid cannot be negative")
|
||||
}
|
||||
// We're good!
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user