multi: rename nolint:lll to nolint:ll
Find and replace all nolint instances refering to the `lll` linter and replace with `ll` which is the name of our custom version of the `lll` linter which can be used to ignore log lines during linting. The next commit will do the configuration of the custom linter and disable the default one.
This commit is contained in:
123 files changed
+286
-286
No files matched your search
@@ -1279,7 +1279,7 @@ func (b *BtcWallet) PublishTransaction(tx *wire.MsgTx, label string) error {
|
||||
// btcwallet error.
|
||||
err = b.chain.MapRPCErr(errors.New(result.RejectReason))
|
||||
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
// These two errors are ignored inside `PublishTransaction`:
|
||||
// https://github.com/btcsuite/btcwallet/blob/master/wallet/wallet.go#L3763
|
||||
// To keep our current behavior, we need to ignore the same errors
|
||||
@@ -1680,7 +1680,7 @@ out:
|
||||
|
||||
// Launch a goroutine to re-package and send
|
||||
// notifications for any newly confirmed transactions.
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
go func(txNtfn *base.TransactionNotifications) {
|
||||
for _, block := range txNtfn.AttachedBlocks {
|
||||
details, err := minedTransactionsToDetails(
|
||||
|
||||
@@ -432,7 +432,7 @@ func TestEstimateInputWeight(t *testing.T) {
|
||||
{},
|
||||
},
|
||||
},
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
expectedWitnessWeight: input.TaprootKeyPathCustomSighashWitnessSize,
|
||||
}, {
|
||||
name: "p2tr script spend",
|
||||
|
||||
Reference in new issue
Block a user