Merge pull request #6423 from tvolk131/fix_typos

Typo fixes and code cleanup
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-05-05 09:42:39 +02:00
commit bdd1c5c4e1
8 files changed
+9 -12

No files matched your search

+2 -2
View File
@@ -1104,10 +1104,10 @@ func (c *OpenChannel) MarkBorked() error {
// reconnection with the remote peer that we're maintaining this channel with.
// The information contained within this message is necessary to re-sync our
// commitment chains in the case of a last or only partially processed message.
// When the remote party receiver this message one of three things may happen:
// When the remote party receives this message one of three things may happen:
//
// 1. We're fully synced and no messages need to be sent.
// 2. We didn't get the last CommitSig message they sent, to they'll re-send
// 2. We didn't get the last CommitSig message they sent, so they'll re-send
// it.
// 3. We didn't get the last RevokeAndAck message they sent, so they'll
// re-send it.
-1
View File
@@ -1 +0,0 @@
package channeldb
-1
View File
@@ -1 +0,0 @@
package channeldb
@@ -14,7 +14,7 @@ type OpaqueReason []byte
// next commitment transaction, with the UpdateFailHTLC propagated backwards in
// the route to fully undo the HTLC.
type UpdateFailHTLC struct {
// ChanIDPoint is the particular active channel that this
// ChanID is the particular active channel that this
// UpdateFailHTLC is bound to.
ChanID ChannelID