multi: fix linter warnings
This commit is contained in:
11 files changed
+122
-106
No files matched your search
@@ -31,7 +31,9 @@ func NewMusigChanCloser(channel *lnwallet.LightningChannel) *MusigChanCloser {
|
||||
|
||||
// ProposalClosingOpts returns the options that should be used when
|
||||
// generating a new co-op close signature.
|
||||
func (m *MusigChanCloser) ProposalClosingOpts() ([]lnwallet.ChanCloseOpt, error) {
|
||||
func (m *MusigChanCloser) ProposalClosingOpts() (
|
||||
[]lnwallet.ChanCloseOpt, error) {
|
||||
|
||||
switch {
|
||||
case m.localNonce == nil:
|
||||
return nil, fmt.Errorf("local nonce not generated")
|
||||
|
||||
Reference in new issue
Block a user