cnct/test: add unit test for commit sweep resolver

This commit is contained in:
Joost Jager
2019-10-30 13:07:26 +01:00
parent 08c9db9725
commit 462d86d0bb
2 changed files with 226 additions and 0 deletions

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
}