Merge pull request #6730 from Roasbeef/notifier-optional-block

chainntfns: add new option for conf notifications to send block
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-08-10 13:52:49 +02:00
commit 17014b592e
18 files changed
+392 -194

No files matched your search

+2 -2
View File
@@ -109,8 +109,8 @@ func (m *MockNotifier) sendSpend(channel chan *chainntnfs.SpendDetail,
// RegisterConfirmationsNtfn registers for tx confirm notifications.
func (m *MockNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash,
_ []byte, numConfs, heightHint uint32) (*chainntnfs.ConfirmationEvent,
error) {
_ []byte, numConfs, heightHint uint32,
opt ...chainntnfs.NotifierOption) (*chainntnfs.ConfirmationEvent, error) {
return &chainntnfs.ConfirmationEvent{
Confirmed: m.getConfChannel(txid),