mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 20:32:36 +02:00
multi: fix various typos in comments
This commit is contained in:
@@ -88,7 +88,7 @@ func newPaymentCircuit(hash *[32]byte, pkt *htlcPacket) *PaymentCircuit {
|
||||
}
|
||||
}
|
||||
|
||||
// makePaymentCircuit initalizes a payment circuit on the stack using the
|
||||
// makePaymentCircuit initializes a payment circuit on the stack using the
|
||||
// payment hash and an in-memory htlc packet.
|
||||
func makePaymentCircuit(hash *[32]byte, pkt *htlcPacket) PaymentCircuit {
|
||||
var addRef channeldb.AddRef
|
||||
|
@@ -2856,7 +2856,7 @@ func TestChannelLinkTrimCircuitsNoCommit(t *testing.T) {
|
||||
assertLinkBandwidth(t, alice.link, aliceStartingBandwidth)
|
||||
|
||||
// Now, try to commit the last two payment circuits, which are unused
|
||||
// thus far. These should succeed without hestiation.
|
||||
// thus far. These should succeed without hesitation.
|
||||
fwdActions = alice.commitCircuits(circuits[halfHtlcs:])
|
||||
if len(fwdActions.Adds) != halfHtlcs {
|
||||
t.Fatalf("expected %d packets to be added", halfHtlcs)
|
||||
@@ -4528,7 +4528,7 @@ func TestChannelLinkCleanupSpuriousResponses(t *testing.T) {
|
||||
// We start with he following scenario: Bob sends Alice two HTLCs, and a
|
||||
// commitment dance ensures, leaving two HTLCs that Alice can respond
|
||||
// to. Since Alice is in ExitSettle mode, we will then take over and
|
||||
// provide targetted fail messages to test the link's ability to cleanup
|
||||
// provide targeted fail messages to test the link's ability to cleanup
|
||||
// spurious responses.
|
||||
//
|
||||
// Bob Alice
|
||||
|
Reference in New Issue
Block a user