|
66 | 66 | MaxMinerFee: scaleMinerFee(testQuote.MinerFee), |
67 | 67 | MaxSwapFee: testQuote.SwapFee, |
68 | 68 | MaxPrepayAmount: testQuote.PrepayAmount, |
69 | | - SweepConfTarget: loop.DefaultSweepConfTarget, |
| 69 | + SweepConfTarget: defaultConfTarget, |
70 | 70 | Initiator: autoloopSwapInitiator, |
71 | 71 | } |
72 | 72 |
|
|
79 | 79 | MaxMinerFee: scaleMinerFee(testQuote.MinerFee), |
80 | 80 | MaxPrepayAmount: testQuote.PrepayAmount, |
81 | 81 | MaxSwapFee: testQuote.SwapFee, |
82 | | - SweepConfTarget: loop.DefaultSweepConfTarget, |
| 82 | + SweepConfTarget: defaultConfTarget, |
83 | 83 | Initiator: autoloopSwapInitiator, |
84 | 84 | } |
85 | 85 |
|
@@ -612,7 +612,7 @@ func TestSweepFeeLimit(t *testing.T) { |
612 | 612 |
|
613 | 613 | // Set our test case's fee rate for our mock lnd. |
614 | 614 | lnd.SetFeeEstimate( |
615 | | - loop.DefaultSweepConfTarget, testCase.feeRate, |
| 615 | + defaultConfTarget, testCase.feeRate, |
616 | 616 | ) |
617 | 617 |
|
618 | 618 | lnd.Channels = []lndclient.ChannelInfo{ |
@@ -732,7 +732,7 @@ func TestSuggestSwaps(t *testing.T) { |
732 | 732 | MaxMinerFee: scaleMinerFee(testQuote.MinerFee), |
733 | 733 | MaxSwapFee: testQuote.SwapFee, |
734 | 734 | MaxPrepayAmount: testQuote.PrepayAmount, |
735 | | - SweepConfTarget: loop.DefaultSweepConfTarget, |
| 735 | + SweepConfTarget: defaultConfTarget, |
736 | 736 | Initiator: autoloopSwapInitiator, |
737 | 737 | }, |
738 | 738 | }, |
@@ -1227,7 +1227,7 @@ func TestSizeRestrictions(t *testing.T) { |
1227 | 1227 | MaxMinerFee: scaleMinerFee(testQuote.MinerFee), |
1228 | 1228 | MaxSwapFee: testQuote.SwapFee, |
1229 | 1229 | MaxPrepayAmount: testQuote.PrepayAmount, |
1230 | | - SweepConfTarget: loop.DefaultSweepConfTarget, |
| 1230 | + SweepConfTarget: defaultConfTarget, |
1231 | 1231 | Initiator: autoloopSwapInitiator, |
1232 | 1232 | } |
1233 | 1233 | ) |
@@ -1376,7 +1376,7 @@ func TestFeePercentage(t *testing.T) { |
1376 | 1376 | MaxMinerFee: scaleMinerFee(okQuote.MinerFee), |
1377 | 1377 | MaxSwapFee: okQuote.SwapFee, |
1378 | 1378 | MaxPrepayAmount: okQuote.PrepayAmount, |
1379 | | - SweepConfTarget: loop.DefaultSweepConfTarget, |
| 1379 | + SweepConfTarget: defaultConfTarget, |
1380 | 1380 | Initiator: autoloopSwapInitiator, |
1381 | 1381 | } |
1382 | 1382 | ) |
|
0 commit comments