multi: fix linter errors

This commit is contained in:
Olaoluwa Osuntokun committed 2023-08-22 16:34:15 -07:00
1 parent d3e4bca772
commit a2b277cf1d
20 files changed
+187 -144

No files matched your search

+5 -5
View File
@@ -8,8 +8,8 @@ import (
"github.com/lightningnetwork/lnd/lnutils"
)
// UnknownScriptTypeErr is returned when an unknown script type is encountered.
var UnknownScriptTypeErr = errors.New("unknown script type")
// ErrUnknownScriptType is returned when an unknown script type is encountered.
var ErrUnknownScriptType = errors.New("unknown script type")
// ScriptPath is used to indicate the spending path of a given script. Possible
// paths include: timeout, success, revocation, and others.
@@ -28,8 +28,8 @@ const (
// breached.
ScriptPathRevocation
// ScriptPathDelay is a script path used when a contract has has
// relative delay that must elapse before it can be swept.
// ScriptPathDelay is a script path used when a contract has relative
// delay that must elapse before it can be swept.
ScriptPathDelay
)
@@ -53,7 +53,7 @@ type ScriptDescriptor interface {
// WitnessScriptForPath returns the witness script for the given
// spending path. An error is returned if the path is unknown. This is
// useful as when constructing a contrl block for a given path, one
// useful as when constructing a control block for a given path, one
// also needs witness script being signed.
WitnessScriptForPath(path ScriptPath) ([]byte, error)
}