mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 06:21:40 +01:00
routing/chainview: bitcoind back-end now requires explicit NotifyBlocks()
This commit is contained in:
parent
5818bdba96
commit
948cb09c14
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue