diff --git a/lncfg/protocol_legacy_on.go b/lncfg/protocol_legacy_on.go index 9be0d1d6..ad8086b2 100644 --- a/lncfg/protocol_legacy_on.go +++ b/lncfg/protocol_legacy_on.go @@ -35,7 +35,7 @@ func (l *ProtocolOptions) NoStaticRemoteKey() bool { 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. func (l *ProtocolOptions) AnchorCommitments() bool { return l.Anchors diff --git a/lnwallet/commitment.go b/lnwallet/commitment.go index 077b6da9..251f7b20 100644 --- a/lnwallet/commitment.go +++ b/lnwallet/commitment.go @@ -309,7 +309,7 @@ func CommitScriptAnchors(localChanCfg, 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) if err != nil { return nil, nil, err