mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-18 19:41:21 +02:00
multi: fix linter warnings
This commit is contained in:
@@ -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