lnwallet+chainntnfs: update to use latest neutrino APIs
This commit is contained in:
2 files changed
+5
-5
No files matched your search
@@ -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