Skip to content

Commit

Permalink
chanfunding: remove unsupported linter directive.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggie1984 committed Sep 10, 2024
1 parent a895b1c commit 082687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnwallet/chanfunding/coin_select.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func CoinSelectUpToAmount(feeRate chainfee.SatPerKWeight, minAmount, maxAmount,
)

var errInsufficientFunds *ErrInsufficientFunds
if err == nil { //nolint:gocritic,ifElseChain
if err == nil { //nolint:gocritic
// If the coin selection succeeds we check if our total balance
// covers the selected set of coins including fees plus an
// optional anchor reserve.
Expand Down

0 comments on commit 082687a

Please sign in to comment.