rpc+peer: use pkScripts for close ntfns

This commit is contained in:
Olaoluwa Osuntokun
2018-05-30 22:18:44 -07:00
parent 55d6586a67
commit 07defe5f93
3 changed files with 8 additions and 7 deletions

View File

@@ -85,8 +85,8 @@ type mockNotfier struct {
confChannel chan *chainntnfs.TxConfirmation
}
func (m *mockNotfier) RegisterConfirmationsNtfn(txid *chainhash.Hash, numConfs,
heightHint uint32) (*chainntnfs.ConfirmationEvent, error) {
func (m *mockNotfier) RegisterConfirmationsNtfn(txid *chainhash.Hash,
_ []byte, numConfs, heightHint uint32) (*chainntnfs.ConfirmationEvent, error) {
return &chainntnfs.ConfirmationEvent{
Confirmed: m.confChannel,
}, nil