lnwallet+chainntnfs: update to use latest neutrino APIs

This commit is contained in:
Olaoluwa Osuntokun committed 2019-09-11 05:57:06 -07:00
1 parent 5fc003d6a1
commit 5ecde6d552
2 files changed
+5 -5

No files matched your search

+2 -2
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),