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
@@ -178,7 +178,7 @@ func (h *htlcTimeoutResolver) claimCleanUp(
|
||||
// - <sender sig> <receiver sig> <preimage> <success_script>
|
||||
// <control_block>
|
||||
case h.isTaproot() && h.htlcResolution.SignedTimeoutTx == nil:
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
preimageBytes = spendingInput.Witness[taprootRemotePreimageIndex]
|
||||
|
||||
// The witness stack when the remote party sweeps the output on a
|
||||
@@ -269,7 +269,7 @@ func (h *htlcTimeoutResolver) chainDetailsToWatch() (*wire.OutPoint, []byte, err
|
||||
// witness script (the last element of the witness stack) to
|
||||
// re-construct the pkScript we need to watch.
|
||||
//
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
outPointToWatch := h.htlcResolution.SignedTimeoutTx.TxIn[0].PreviousOutPoint
|
||||
witness := h.htlcResolution.SignedTimeoutTx.TxIn[0].Witness
|
||||
|
||||
@@ -825,7 +825,7 @@ func (h *htlcTimeoutResolver) handleCommitSpend(
|
||||
|
||||
var csvWitnessType input.StandardWitnessType
|
||||
if h.isTaproot() {
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
csvWitnessType = input.TaprootHtlcOfferedTimeoutSecondLevel
|
||||
} else {
|
||||
csvWitnessType = input.HtlcOfferedTimeoutSecondLevel
|
||||
|
||||
Reference in new issue
Block a user