multi: deprecate batchwindowduration config option

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:26 +08:00
1 parent c03509397f
commit 465332f409
8 files changed
+9 -32

No files matched your search

+4 -5
View File
@@ -138,11 +138,10 @@ func createSweeperTestContext(t *testing.T) *sweeperTestContext {
}
ctx.sweeper = New(&UtxoSweeperConfig{
Notifier: notifier,
Wallet: backend,
TickerDuration: 100 * time.Millisecond,
Store: store,
Signer: &lnmock.DummySigner{},
Notifier: notifier,
Wallet: backend,
Store: store,
Signer: &lnmock.DummySigner{},
GenSweepScript: func() ([]byte, error) {
script := make([]byte, input.P2WPKHSize)
script[0] = 0