multi: fix some recently introduced typos

This commit is contained in:
practicalswift
2018-02-07 09:30:09 +01:00
committed by Olaoluwa Osuntokun
parent 7abdd30a87
commit b8e1351cf3
8 changed files with 12 additions and 12 deletions

View File

@@ -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

View File

@@ -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,