multi: Fix typos [skip ci]

This commit is contained in:
Dimitris Apostolou committed 2022-01-24 12:19:02 +02:00
1 parent f50950640f
commit 530a2059e5
139 files changed
+254 -254

No files matched your search

+2 -2
View File
@@ -1151,7 +1151,7 @@ func (ms *msgStream) msgConsumer() {
// concurrent access.
func (ms *msgStream) AddMsg(msg lnwire.Message) {
// First, we'll attempt to receive from the producerSema struct. This
// acts as a sempahore to prevent us from indefinitely buffering
// acts as a semaphore to prevent us from indefinitely buffering
// incoming items from the wire. Either the msg queue isn't full, and
// we'll not block, or the queue is full, and we'll block until either
// we're signalled to quit, or a slot is freed up.
@@ -2142,7 +2142,7 @@ func (p *Brontide) ChannelSnapshots() []*channeldb.ChannelSnapshot {
}
// We'll only return a snapshot for channels that are
// *immedately* available for routing payments over.
// *immediately* available for routing payments over.
if activeChan.RemoteNextRevocation() == nil {
continue
}
+1 -1
View File
@@ -876,7 +876,7 @@ func TestCustomShutdownScript(t *testing.T) {
// If the test has not specified an expected address, do not check
// whether the shutdown address matches. This covers the case where
// we epect shutdown to a random address and cannot match it.
// we expect shutdown to a random address and cannot match it.
if len(test.expectedScript) == 0 {
return
}