cnct/test: add unit test for commit sweep resolver

This commit is contained in:
Joost Jager committed 2019-11-14 13:38:06 +01:00
1 parent 08c9db9725
commit 462d86d0bb
2 files changed
+226

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ func (m *mockNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash, _ []byte,
heightHint uint32) (*chainntnfs.ConfirmationEvent, error) {
return &chainntnfs.ConfirmationEvent{
Confirmed: m.confChan,
Cancel: func() {},
}, nil
}