lnwallet+lncfg: fix typos

This commit is contained in:
Olaoluwa Osuntokun committed 2020-03-16 17:07:21 -07:00
1 parent 823a9cc2c2
commit de2fefe52a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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