mirror of https://github.com/BTCPrivate/lnd.git
routing/chainview: bitcoind back-end now requires explicit `NotifyBlocks()`
This commit is contained in:
parent
5818bdba96
commit
948cb09c14
|
@ -101,6 +101,11 @@ func (b *BitcoindFilteredChainView) Start() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = b.chainClient.NotifyBlocks()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
_, bestHeight, err := b.chainClient.GetBestBlock()
|
_, bestHeight, err := b.chainClient.GetBestBlock()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue