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

+1 -2
View File
@@ -5414,8 +5414,7 @@ func (lc *LightningChannel) MalformedFailHTLC(htlcIndex uint64,
// ReceiveFailHTLC attempts to cancel a targeted HTLC by its log index,
// inserting an entry which will remove the target log entry within the next
// commitment update. This method should be called in response to the upstream
// party cancelling an outgoing HTLC. The value of the failed HTLC is returned
// along with an error indicating success.
// party cancelling an outgoing HTLC.
func (lc *LightningChannel) ReceiveFailHTLC(htlcIndex uint64, reason []byte,
) error {