mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
lnwallet/btcwallet: provide cancel chan as neutrino QuitChan option
This will make sure a long-running rescan can be canceled in case Neutrino is the backend.
This commit is contained in:
parent
10070ecab7
commit
6110182371
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ func (b *BtcWallet) GetUtxo(op *wire.OutPoint, pkScript []byte,
|
|||
neutrino.StartBlock(&waddrmgr.BlockStamp{
|
||||
Height: int32(heightHint),
|
||||
}),
|
||||
neutrino.QuitChan(cancel),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Reference in a new issue