lnd+sweep: remove unused config MaxSweepAttempts

This commit is contained in:
yyforyongyu
2024-03-19 03:53:43 +08:00
parent 0b30d4ba3e
commit 370e4ce98d
3 changed files with 16 additions and 28 deletions

View File

@ -159,12 +159,11 @@ func createSweeperTestContext(t *testing.T) *sweeperTestContext {
script[1] = 20
return script, nil
},
FeeEstimator: estimator,
MaxInputsPerTx: testMaxInputsPerTx,
MaxSweepAttempts: testMaxSweepAttempts,
MaxFeeRate: DefaultMaxFeeRate,
Aggregator: aggregator,
Publisher: mockBumper,
FeeEstimator: estimator,
MaxInputsPerTx: testMaxInputsPerTx,
MaxFeeRate: DefaultMaxFeeRate,
Aggregator: aggregator,
Publisher: mockBumper,
})
ctx.sweeper.Start()