multi: fix linter errors
This commit is contained in:
20 files changed
+187
-144
No files matched your search
+8
-8
@@ -522,8 +522,8 @@ func (wt StandardWitnessType) WitnessGenerator(signer Signer,
|
||||
|
||||
// The control block bytes must be set at this point.
|
||||
if desc.ControlBlock == nil {
|
||||
return nil, fmt.Errorf("control block must be " +
|
||||
"set for taproot spend")
|
||||
return nil, fmt.Errorf("control block must " +
|
||||
"be set for taproot spend")
|
||||
}
|
||||
|
||||
witness, err := TaprootCommitSpendSuccess(
|
||||
@@ -544,8 +544,8 @@ func (wt StandardWitnessType) WitnessGenerator(signer Signer,
|
||||
|
||||
// The control block bytes must be set at this point.
|
||||
if desc.ControlBlock == nil {
|
||||
return nil, fmt.Errorf("control block must be " +
|
||||
"set for taproot spend")
|
||||
return nil, fmt.Errorf("control block must " +
|
||||
"be set for taproot spend")
|
||||
}
|
||||
|
||||
witness, err := TaprootCommitRemoteSpend(
|
||||
@@ -589,8 +589,8 @@ func (wt StandardWitnessType) WitnessGenerator(signer Signer,
|
||||
|
||||
// The control block bytes must be set at this point.
|
||||
if desc.ControlBlock == nil {
|
||||
return nil, fmt.Errorf("control block must be " +
|
||||
"set for taproot spend")
|
||||
return nil, fmt.Errorf("control block must " +
|
||||
"be set for taproot spend")
|
||||
}
|
||||
|
||||
witness, err := TaprootHtlcSpendSuccess(
|
||||
@@ -677,8 +677,8 @@ func (wt StandardWitnessType) WitnessGenerator(signer Signer,
|
||||
|
||||
// The control block bytes must be set at this point.
|
||||
if desc.ControlBlock == nil {
|
||||
return nil, fmt.Errorf("control block must be " +
|
||||
"set for taproot spend")
|
||||
return nil, fmt.Errorf("control block " +
|
||||
"must be set for taproot spend")
|
||||
}
|
||||
|
||||
witness, err := ReceiverHTLCScriptTaprootTimeout(
|
||||
|
||||
Reference in new issue
Block a user