lnwallet+lncfg: fix typos

This commit is contained in:
Olaoluwa Osuntokun 2020-03-13 18:50:45 -07:00
parent 823a9cc2c2
commit de2fefe52a
No known key found for this signature in database
GPG Key ID: BC13F65E2DC84465
2 changed files with 2 additions and 2 deletions

@ -35,7 +35,7 @@ func (l *ProtocolOptions) NoStaticRemoteKey() bool {
return l.CommitmentTweak return l.CommitmentTweak
} }
// AnchorCommitments returns true if support for the the anchor commitment type // AnchorCommitments returns true if support for the anchor commitment type
// should be signaled. // should be signaled.
func (l *ProtocolOptions) AnchorCommitments() bool { func (l *ProtocolOptions) AnchorCommitments() bool {
return l.Anchors return l.Anchors

@ -309,7 +309,7 @@ func CommitScriptAnchors(localChanCfg,
return nil, nil, err return nil, nil, err
} }
// And the anchor spemdable by the remote node. // And the anchor spendable by the remote node.
remoteAnchor, err := anchorScript(remoteChanCfg.MultiSigKey.PubKey) remoteAnchor, err := anchorScript(remoteChanCfg.MultiSigKey.PubKey)
if err != nil { if err != nil {
return nil, nil, err return nil, nil, err