multi: fix a-vs-an typos

This commit is contained in:
practicalswift authored and Olaoluwa Osuntokun committed 2018-04-17 19:02:04 -07:00
1 parent 0720e83840
commit 663c396235
45 files changed
+67 -67

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/lightningnetwork/lnd/lnwire"
)
// packetQueue is an goroutine-safe queue of htlc packets which over flow the
// packetQueue is a goroutine-safe queue of htlc packets which over flow the
// current commitment transaction. An HTLC will overflow the current commitment
// transaction if one attempts to add a new HTLC to the state machine which
// already has the max number of pending HTLC's present on the commitment
+2 -2
View File
@@ -52,7 +52,7 @@ type pendingPayment struct {
response chan *htlcPacket
err chan error
// deobfuscator is an serializable entity which is used if we received
// deobfuscator is a serializable entity which is used if we received
// an error, it deobfuscates the onion failure blob, and extracts the
// exact error from it.
deobfuscator ErrorDecrypter
@@ -65,7 +65,7 @@ type plexPacket struct {
err chan error
}
// ChannelCloseType is a enum which signals the type of channel closure the
// ChannelCloseType is an enum which signals the type of channel closure the
// peer should execute.
type ChannelCloseType uint8
+1 -1
View File
@@ -591,7 +591,7 @@ type threeHopNetwork struct {
}
// generateHops creates the per hop payload, the total amount to be sent, and
// also the time lock value needed to route a HTLC with the target amount over
// also the time lock value needed to route an HTLC with the target amount over
// the specified path.
func generateHops(payAmt lnwire.MilliSatoshi, startingHeight uint32,
path ...*channelLink) (lnwire.MilliSatoshi, uint32, []ForwardingInfo) {