lnwallet+chainntnfs: update to use latest neutrino APIs

This commit is contained in:
Olaoluwa Osuntokun
2019-09-09 03:22:18 -07:00
parent 5fc003d6a1
commit 5ecde6d552
2 changed files with 5 additions and 5 deletions

View File

@@ -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),