chainntnfs/bitcoindnotify: update RegisterConfirmationsNtfn to take pkScript

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

@ -784,7 +784,7 @@ type confirmationNotification struct {
// 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 *BitcoindNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash, func (b *BitcoindNotifier) RegisterConfirmationsNtfn(txid *chainhash.Hash,
numConfs, heightHint uint32) (*chainntnfs.ConfirmationEvent, error) { _ []byte, numConfs, heightHint uint32) (*chainntnfs.ConfirmationEvent, error) {
ntfn := &confirmationNotification{ ntfn := &confirmationNotification{
ConfNtfn: chainntnfs.ConfNtfn{ ConfNtfn: chainntnfs.ConfNtfn{