chainntnfs/neutrino: add bool to RegisterSpendNtfn
This commit is contained in:
parent
cc17bc1636
commit
5283b6d210
@ -566,7 +566,7 @@ type spendCancel struct {
|
|||||||
// target outpoint has been detected, the details of the spending event will be
|
// target outpoint has been detected, the details of the spending event will be
|
||||||
// sent across the 'Spend' channel.
|
// sent across the 'Spend' channel.
|
||||||
func (n *NeutrinoNotifier) RegisterSpendNtfn(outpoint *wire.OutPoint,
|
func (n *NeutrinoNotifier) RegisterSpendNtfn(outpoint *wire.OutPoint,
|
||||||
heightHint uint32) (*chainntnfs.SpendEvent, error) {
|
heightHint uint32, _ bool) (*chainntnfs.SpendEvent, error) {
|
||||||
|
|
||||||
n.heightMtx.RLock()
|
n.heightMtx.RLock()
|
||||||
currentHeight := n.bestHeight
|
currentHeight := n.bestHeight
|
||||||
|
Loading…
Reference in New Issue
Block a user