mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
lncli+docs: skip gomnd check in switch statement
This commit is contained in:
parent
143eba82ea
commit
097b4fae68
2 changed files with 3 additions and 0 deletions
|
@ -1653,6 +1653,7 @@ func clearLines(count int) {
|
|||
|
||||
// ordinalNumber returns the ordinal number as a string of a number.
|
||||
func ordinalNumber(num uint32) string {
|
||||
//nolint:gomnd
|
||||
switch num {
|
||||
case 1:
|
||||
return "1st"
|
||||
|
|
|
@ -208,6 +208,8 @@ certain large transactions](https://github.com/lightningnetwork/lnd/pull/7100).
|
|||
* [Fixed a flake in the TestMailBoxAddExpiry unit
|
||||
test](https://github.com/lightningnetwork/lnd/pull/7314).
|
||||
|
||||
* [Fix gomnd linter error](https://github.com/lightningnetwork/lnd/pull/7325)
|
||||
|
||||
## `lncli`
|
||||
|
||||
* [Add an `insecure` flag to skip tls auth as well as a `metadata` string slice
|
||||
|
|
Loading…
Add table
Reference in a new issue