@@ -64,7 +64,7 @@ func testSwitchCircuitPersistence(ht *lntest.HarnessTest) {
64
64
// transaction, in channel Bob->Alice->David->Carol, order is Carol,
65
65
// David, Alice, Bob.
66
66
var amountPaid = int64 (5000 )
67
- s .assertAmoutPaid (ht , amountPaid , numPayments )
67
+ s .assertAmountPaid (ht , amountPaid , numPayments )
68
68
69
69
// Lastly, we will send one more payment to ensure all channels are
70
70
// still functioning properly.
@@ -80,7 +80,7 @@ func testSwitchCircuitPersistence(ht *lntest.HarnessTest) {
80
80
ht .CompletePaymentRequests (s .bob , payReqs )
81
81
82
82
amountPaid = int64 (6000 )
83
- s .assertAmoutPaid (ht , amountPaid , numPayments + 1 )
83
+ s .assertAmountPaid (ht , amountPaid , numPayments + 1 )
84
84
}
85
85
86
86
// testSwitchOfflineDelivery constructs a set of multihop payments, and tests
@@ -136,7 +136,7 @@ func testSwitchOfflineDelivery(ht *lntest.HarnessTest) {
136
136
// transaction, in channel Bob->Alice->David->Carol, order is Carol,
137
137
// David, Alice, Bob.
138
138
var amountPaid = int64 (5000 )
139
- s .assertAmoutPaid (ht , amountPaid , numPayments )
139
+ s .assertAmountPaid (ht , amountPaid , numPayments )
140
140
141
141
// Lastly, we will send one more payment to ensure all channels are
142
142
// still functioning properly.
@@ -152,7 +152,7 @@ func testSwitchOfflineDelivery(ht *lntest.HarnessTest) {
152
152
ht .CompletePaymentRequests (s .bob , payReqs )
153
153
154
154
amountPaid = int64 (6000 )
155
- s .assertAmoutPaid (ht , amountPaid , numPayments + 1 )
155
+ s .assertAmountPaid (ht , amountPaid , numPayments + 1 )
156
156
}
157
157
158
158
// testSwitchOfflineDeliveryPersistence constructs a set of multihop payments,
@@ -218,7 +218,7 @@ func testSwitchOfflineDeliveryPersistence(ht *lntest.HarnessTest) {
218
218
// transaction, in channel Bob->Alice->David->Carol, order is Carol,
219
219
// David, Alice, Bob.
220
220
var amountPaid = int64 (5000 )
221
- s .assertAmoutPaid (ht , amountPaid , numPayments )
221
+ s .assertAmountPaid (ht , amountPaid , numPayments )
222
222
223
223
// Lastly, we will send one more payment to ensure all channels are
224
224
// still functioning properly.
@@ -238,7 +238,7 @@ func testSwitchOfflineDeliveryPersistence(ht *lntest.HarnessTest) {
238
238
ht .CompletePaymentRequests (s .bob , payReqs )
239
239
240
240
amountPaid = int64 (6000 )
241
- s .assertAmoutPaid (ht , amountPaid , numPayments + 1 )
241
+ s .assertAmountPaid (ht , amountPaid , numPayments + 1 )
242
242
}
243
243
244
244
// testSwitchOfflineDeliveryOutgoingOffline constructs a set of multihop
@@ -453,10 +453,10 @@ func (s *scenarioFourNodes) assertHTLCs(ht *lntest.HarnessTest, num int) {
453
453
ht .AssertNumActiveHtlcs (s .carol , num )
454
454
}
455
455
456
- // assertAmoutPaid is a helper method which takes a given paid amount
456
+ // assertAmountPaid is a helper method which takes a given paid amount
457
457
// and number of payments and asserts the desired payments are made in
458
458
// the four nodes.
459
- func (s * scenarioFourNodes ) assertAmoutPaid (ht * lntest.HarnessTest ,
459
+ func (s * scenarioFourNodes ) assertAmountPaid (ht * lntest.HarnessTest ,
460
460
amt int64 , num int64 ) {
461
461
462
462
ht .AssertAmountPaid (
0 commit comments