Skip to content

Commit 909bf5e

Browse files
committed
sweepbatcher/testFeeBumping: reuse dummyNotifier
1 parent 569c35d commit 909bf5e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sweepbatcher/sweep_batcher_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,7 @@ func testFeeBumping(t *testing.T, store testStore,
313313
Hash: chainhash.Hash{1, 1},
314314
Index: 1,
315315
},
316-
Notifier: &SpendNotifier{
317-
SpendChan: make(chan *SpendDetail, ntfnBufferSize),
318-
SpendErrChan: make(chan error, ntfnBufferSize),
319-
QuitChan: make(chan bool, ntfnBufferSize),
320-
},
316+
Notifier: &dummyNotifier,
321317
}
322318

323319
swap1 := &loopdb.LoopOutContract{

0 commit comments

Comments
 (0)