sweepbatcher/testFeeBumping: reuse dummyNotifier

pull/784/head
Boris Nagaev 3 months ago
parent 569c35da20
commit 909bf5e264
No known key found for this signature in database

@ -313,11 +313,7 @@ func testFeeBumping(t *testing.T, store testStore,
Hash: chainhash.Hash{1, 1}, Hash: chainhash.Hash{1, 1},
Index: 1, Index: 1,
}, },
Notifier: &SpendNotifier{ Notifier: &dummyNotifier,
SpendChan: make(chan *SpendDetail, ntfnBufferSize),
SpendErrChan: make(chan error, ntfnBufferSize),
QuitChan: make(chan bool, ntfnBufferSize),
},
} }
swap1 := &loopdb.LoopOutContract{ swap1 := &loopdb.LoopOutContract{

Loading…
Cancel
Save