mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 03:57:40 +02:00
multi: update linter, fix new issues
This commit is contained in:
@@ -201,7 +201,7 @@ func Decode(invoice string, net *chaincfg.Params, opts ...DecodeOption) (
|
||||
errStr += fmt.Sprintf(" %d,", bit)
|
||||
}
|
||||
|
||||
return nil, fmt.Errorf(strings.TrimRight(errStr, ","))
|
||||
return nil, errors.New(strings.TrimRight(errStr, ","))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user