Skip to content

Commit 1ca5d44

Browse files
committedDec 25, 2024
itest: fix typo
1 parent 2fac984 commit 1ca5d44

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎itest/lnd_switch_test.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func testSwitchCircuitPersistence(ht *lntest.HarnessTest) {
6464
// transaction, in channel Bob->Alice->David->Carol, order is Carol,
6565
// David, Alice, Bob.
6666
var amountPaid = int64(5000)
67-
s.assertAmoutPaid(ht, amountPaid, numPayments)
67+
s.assertAmountPaid(ht, amountPaid, numPayments)
6868

6969
// Lastly, we will send one more payment to ensure all channels are
7070
// still functioning properly.
@@ -80,7 +80,7 @@ func testSwitchCircuitPersistence(ht *lntest.HarnessTest) {
8080
ht.CompletePaymentRequests(s.bob, payReqs)
8181

8282
amountPaid = int64(6000)
83-
s.assertAmoutPaid(ht, amountPaid, numPayments+1)
83+
s.assertAmountPaid(ht, amountPaid, numPayments+1)
8484
}
8585

8686
// testSwitchOfflineDelivery constructs a set of multihop payments, and tests
@@ -136,7 +136,7 @@ func testSwitchOfflineDelivery(ht *lntest.HarnessTest) {
136136
// transaction, in channel Bob->Alice->David->Carol, order is Carol,
137137
// David, Alice, Bob.
138138
var amountPaid = int64(5000)
139-
s.assertAmoutPaid(ht, amountPaid, numPayments)
139+
s.assertAmountPaid(ht, amountPaid, numPayments)
140140

141141
// Lastly, we will send one more payment to ensure all channels are
142142
// still functioning properly.
@@ -152,7 +152,7 @@ func testSwitchOfflineDelivery(ht *lntest.HarnessTest) {
152152
ht.CompletePaymentRequests(s.bob, payReqs)
153153

154154
amountPaid = int64(6000)
155-
s.assertAmoutPaid(ht, amountPaid, numPayments+1)
155+
s.assertAmountPaid(ht, amountPaid, numPayments+1)
156156
}
157157

158158
// testSwitchOfflineDeliveryPersistence constructs a set of multihop payments,
@@ -218,7 +218,7 @@ func testSwitchOfflineDeliveryPersistence(ht *lntest.HarnessTest) {
218218
// transaction, in channel Bob->Alice->David->Carol, order is Carol,
219219
// David, Alice, Bob.
220220
var amountPaid = int64(5000)
221-
s.assertAmoutPaid(ht, amountPaid, numPayments)
221+
s.assertAmountPaid(ht, amountPaid, numPayments)
222222

223223
// Lastly, we will send one more payment to ensure all channels are
224224
// still functioning properly.
@@ -238,7 +238,7 @@ func testSwitchOfflineDeliveryPersistence(ht *lntest.HarnessTest) {
238238
ht.CompletePaymentRequests(s.bob, payReqs)
239239

240240
amountPaid = int64(6000)
241-
s.assertAmoutPaid(ht, amountPaid, numPayments+1)
241+
s.assertAmountPaid(ht, amountPaid, numPayments+1)
242242
}
243243

244244
// testSwitchOfflineDeliveryOutgoingOffline constructs a set of multihop
@@ -453,10 +453,10 @@ func (s *scenarioFourNodes) assertHTLCs(ht *lntest.HarnessTest, num int) {
453453
ht.AssertNumActiveHtlcs(s.carol, num)
454454
}
455455

456-
// assertAmoutPaid is a helper method which takes a given paid amount
456+
// assertAmountPaid is a helper method which takes a given paid amount
457457
// and number of payments and asserts the desired payments are made in
458458
// the four nodes.
459-
func (s *scenarioFourNodes) assertAmoutPaid(ht *lntest.HarnessTest,
459+
func (s *scenarioFourNodes) assertAmountPaid(ht *lntest.HarnessTest,
460460
amt int64, num int64) {
461461

462462
ht.AssertAmountPaid(

0 commit comments

Comments
 (0)