chainntnfs/btcdnotify: update RegisterConfirmationsNtfn to take pkScript

This commit is contained in:
Olaoluwa Osuntokun 2018-05-30 22:03:23 -07:00
parent f45e41afc1
commit e93149e576
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -822,7 +822,7 @@ type confirmationNotification struct {
// RegisterConfirmationsNtfn registers a notification with BtcdNotifier // RegisterConfirmationsNtfn registers a notification with BtcdNotifier
// which will be triggered once the txid reaches numConfs number of // which will be triggered once the txid reaches numConfs number of
// confirmations. // confirmations.
func (b *BtcdNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash, func (b *BtcdNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash, _ []byte,
numConfs, heightHint uint32) (*chainntnfs.ConfirmationEvent, error) { numConfs, heightHint uint32) (*chainntnfs.ConfirmationEvent, error) {
ntfn := &confirmationNotification{ ntfn := &confirmationNotification{