mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 02:56:30 +02:00
lnwallet+chainntnfs: update to use latest neutrino APIs
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
||||
"github.com/btcsuite/btcutil"
|
||||
|
||||
"github.com/btcsuite/btcwallet/chain"
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/lightninglabs/neutrino"
|
||||
"github.com/lightninglabs/neutrino/headerfs"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
)
|
||||
|
||||
@@ -48,7 +48,7 @@ func (b *BtcWallet) GetUtxo(op *wire.OutPoint, pkScript []byte,
|
||||
OutPoint: *op,
|
||||
PkScript: pkScript,
|
||||
}),
|
||||
neutrino.StartBlock(&waddrmgr.BlockStamp{
|
||||
neutrino.StartBlock(&headerfs.BlockStamp{
|
||||
Height: int32(heightHint),
|
||||
}),
|
||||
neutrino.QuitChan(cancel),
|
||||
|
Reference in New Issue
Block a user