@@ -254,8 +254,8 @@ func testPresigned_forgotten_presign(t *testing.T,
254
254
ctx , cancel := context .WithCancel (context .Background ())
255
255
defer cancel ()
256
256
257
- customFeeRate := func (_ context.Context ,
258
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
257
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
258
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
259
259
260
260
return chainfee .SatPerKWeight (10_000 ), nil
261
261
}
@@ -330,8 +330,8 @@ func testPresigned_input1_offline_then_input2(t *testing.T,
330
330
setFeeRate := func (feeRate chainfee.SatPerKWeight ) {
331
331
currentFeeRate = feeRate
332
332
}
333
- customFeeRate := func (_ context.Context ,
334
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
333
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
334
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
335
335
336
336
return currentFeeRate , nil
337
337
}
@@ -511,8 +511,8 @@ func testPresigned_two_inputs_one_goes_offline(t *testing.T,
511
511
setFeeRate := func (feeRate chainfee.SatPerKWeight ) {
512
512
currentFeeRate = feeRate
513
513
}
514
- customFeeRate := func (_ context.Context ,
515
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
514
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
515
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
516
516
517
517
return currentFeeRate , nil
518
518
}
@@ -647,8 +647,8 @@ func testPresigned_first_publish_fails(t *testing.T,
647
647
setFeeRate := func (feeRate chainfee.SatPerKWeight ) {
648
648
currentFeeRate = feeRate
649
649
}
650
- customFeeRate := func (_ context.Context ,
651
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
650
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
651
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
652
652
653
653
return currentFeeRate , nil
654
654
}
@@ -770,8 +770,8 @@ func testPresigned_locktime(t *testing.T,
770
770
setFeeRate := func (feeRate chainfee.SatPerKWeight ) {
771
771
currentFeeRate = feeRate
772
772
}
773
- customFeeRate := func (_ context.Context ,
774
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
773
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
774
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
775
775
776
776
return currentFeeRate , nil
777
777
}
@@ -854,8 +854,8 @@ func testPresigned_presigned_group(t *testing.T,
854
854
ctx , cancel := context .WithCancel (context .Background ())
855
855
defer cancel ()
856
856
857
- customFeeRate := func (_ context.Context ,
858
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
857
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
858
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
859
859
860
860
return chainfee .SatPerKWeight (10_000 ), nil
861
861
}
@@ -1091,8 +1091,8 @@ func testPresigned_presigned_and_regular_sweeps(t *testing.T, store testStore,
1091
1091
setFeeRate := func (feeRate chainfee.SatPerKWeight ) {
1092
1092
currentFeeRate = feeRate
1093
1093
}
1094
- customFeeRate := func (_ context.Context ,
1095
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
1094
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
1095
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
1096
1096
1097
1097
return currentFeeRate , nil
1098
1098
}
@@ -1372,8 +1372,8 @@ func testPresigned_purging(t *testing.T, numSwaps, numConfirmedSwaps int,
1372
1372
ctx , cancel := context .WithCancel (context .Background ())
1373
1373
defer cancel ()
1374
1374
1375
- customFeeRate := func (_ context.Context ,
1376
- _ lntypes. Hash ) (chainfee.SatPerKWeight , error ) {
1375
+ customFeeRate := func (_ context.Context , _ lntypes. Hash ,
1376
+ _ wire. OutPoint ) (chainfee.SatPerKWeight , error ) {
1377
1377
1378
1378
return feeRate , nil
1379
1379
}
0 commit comments