Revert "sweepbatcher/StoreMock: load LoopOut from loopdb"

This reverts commit d38b7c55a7.

Batcher does not use this data anymore, since previous commit.
This commit is contained in:
Boris Nagaev 2024-05-30 13:18:41 -03:00
parent 16132d1593
commit 4be69e186e
No known key found for this signature in database
4 changed files with 19 additions and 34 deletions

View file

@ -297,7 +297,7 @@ func testCustomSweepConfTarget(t *testing.T) {
errChan := make(chan error, 2)
batcherStore := sweepbatcher.NewStoreMock(cfg.store)
batcherStore := sweepbatcher.NewStoreMock()
batcher := sweepbatcher.NewBatcher(
lnd.WalletKit, lnd.ChainNotifier, lnd.Signer,
@ -530,7 +530,7 @@ func testPreimagePush(t *testing.T) {
errChan := make(chan error, 2)
batcherStore := sweepbatcher.NewStoreMock(cfg.store)
batcherStore := sweepbatcher.NewStoreMock()
batcher := sweepbatcher.NewBatcher(
lnd.WalletKit, lnd.ChainNotifier, lnd.Signer,
@ -951,7 +951,7 @@ func TestLoopOutMuSig2Sweep(t *testing.T) {
errChan := make(chan error, 2)
batcherStore := sweepbatcher.NewStoreMock(cfg.store)
batcherStore := sweepbatcher.NewStoreMock()
batcher := sweepbatcher.NewBatcher(
lnd.WalletKit, lnd.ChainNotifier, lnd.Signer,