mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-24 20:05:46 +02:00
Merge pull request #6423 from tvolk131/fix_typos
Typo fixes and code cleanup
This commit is contained in:
@@ -919,9 +919,9 @@ func (l *channelLink) loadAndRemove() error {
|
||||
// This goroutine reads messages from the upstream (remote) peer, and also from
|
||||
// downstream channel managed by the channel link. In the event that an htlc
|
||||
// needs to be forwarded, then send-only forward handler is used which sends
|
||||
// htlc packets to the switch. Additionally, the this goroutine handles acting
|
||||
// upon all timeouts for any active HTLCs, manages the channel's revocation
|
||||
// window, and also the htlc trickle queue+timer for this active channels.
|
||||
// htlc packets to the switch. Additionally, this goroutine handles acting upon
|
||||
// all timeouts for any active HTLCs, manages the channel's revocation window,
|
||||
// and also the htlc trickle queue+timer for this active channels.
|
||||
//
|
||||
// NOTE: This MUST be run as a goroutine.
|
||||
func (l *channelLink) htlcManager() {
|
||||
|
@@ -25,7 +25,7 @@ var (
|
||||
|
||||
// MailBox is an interface which represents a concurrent-safe, in-order
|
||||
// delivery queue for messages from the network and also from the main switch.
|
||||
// This struct servers as a buffer between incoming messages, and messages to
|
||||
// This struct serves as a buffer between incoming messages, and messages to
|
||||
// the handled by the link. Each of the mutating methods within this interface
|
||||
// should be implemented in a non-blocking manner.
|
||||
type MailBox interface {
|
||||
|
Reference in New Issue
Block a user