multi: update to latest RegisterBlockEpochNtfn interface

This commit is contained in:
Valentine Wallace committed 2018-08-10 01:08:57 -07:00
1 parent 71a81f59a9
commit 1ffc3bb82e
13 files changed
+22 -17

No files matched your search

+2 -1
View File
@@ -790,7 +790,8 @@ func (m *mockNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash, _ []byte,
numConfs uint32, heightHint uint32) (*chainntnfs.ConfirmationEvent, error) {
return nil, nil
}
func (m *mockNotifier) RegisterBlockEpochNtfn() (*chainntnfs.BlockEpochEvent, error) {
func (m *mockNotifier) RegisterBlockEpochNtfn(
bestBlock *chainntnfs.BlockEpoch) (*chainntnfs.BlockEpochEvent, error) {
return &chainntnfs.BlockEpochEvent{
Epochs: m.epochChan,
Cancel: func() {},