mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
multi: fix some recently introduced typos
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
7abdd30a87
commit
b8e1351cf3
@@ -68,7 +68,7 @@ type ChannelLink interface {
|
||||
// UpdateShortChanID updates the short channel ID for a link. This may
|
||||
// be required in the event that a link is created before the short
|
||||
// chan ID for it is known, or a re-org occurs, and the funding
|
||||
// transacton changes location within the chain.
|
||||
// transaction changes location within the chain.
|
||||
UpdateShortChanID(lnwire.ShortChannelID)
|
||||
|
||||
// UpdateForwardingPolicy updates the forwarding policy for the target
|
||||
|
@@ -1558,7 +1558,7 @@ func handleStateUpdate(link *channelLink,
|
||||
}
|
||||
_, err = remoteChannel.ReceiveRevocation(revoke)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to recieve "+
|
||||
return fmt.Errorf("unable to receive "+
|
||||
"revocation: %v", err)
|
||||
}
|
||||
|
||||
@@ -1579,7 +1579,7 @@ func updateState(batchTick chan time.Time, link *channelLink,
|
||||
select {
|
||||
case batchTick <- time.Now():
|
||||
case <-link.quit:
|
||||
return fmt.Errorf("link shuttin down")
|
||||
return fmt.Errorf("link shutting down")
|
||||
}
|
||||
return handleStateUpdate(link, remoteChannel)
|
||||
}
|
||||
@@ -1612,7 +1612,7 @@ func updateState(batchTick chan time.Time, link *channelLink,
|
||||
}
|
||||
_, err = remoteChannel.ReceiveRevocation(revoke)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to recieve "+
|
||||
return fmt.Errorf("unable to receive "+
|
||||
"revocation: %v", err)
|
||||
}
|
||||
select {
|
||||
@@ -1827,7 +1827,7 @@ func TestChannelLinkBandwidthConsistency(t *testing.T) {
|
||||
t.Fatalf("unable to update state: %v", err)
|
||||
}
|
||||
|
||||
// Now the bancdwidth should reflect the failed HTLC.
|
||||
// Now the bandwidth should reflect the failed HTLC.
|
||||
assertLinkBandwidth(t, aliceLink, aliceStartingBandwidth-htlcAmt)
|
||||
|
||||
// Moving along, we'll now receive a new HTLC from the remote peer,
|
||||
|
Reference in New Issue
Block a user