From 909bf5e26414068faf7bced24a547e9855bc16a0 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 26 Jun 2024 12:07:23 -0300 Subject: [PATCH] sweepbatcher/testFeeBumping: reuse dummyNotifier --- sweepbatcher/sweep_batcher_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sweepbatcher/sweep_batcher_test.go b/sweepbatcher/sweep_batcher_test.go index dcbde18..b67f37e 100644 --- a/sweepbatcher/sweep_batcher_test.go +++ b/sweepbatcher/sweep_batcher_test.go @@ -313,11 +313,7 @@ func testFeeBumping(t *testing.T, store testStore, Hash: chainhash.Hash{1, 1}, Index: 1, }, - Notifier: &SpendNotifier{ - SpendChan: make(chan *SpendDetail, ntfnBufferSize), - SpendErrChan: make(chan error, ntfnBufferSize), - QuitChan: make(chan bool, ntfnBufferSize), - }, + Notifier: &dummyNotifier, } swap1 := &loopdb.LoopOutContract{