Recover from lnd failure

This commit is contained in:
Yaacov Akiba Slama
2022-05-16 11:51:50 +03:00
parent ad0595f3f9
commit 5941d9b0ef
2 changed files with 111 additions and 103 deletions

View File

@@ -46,6 +46,8 @@ func channelsSynchronize(client chainrpc.ChainNotifierClient) {
if err != nil {
log.Printf("chainNotifierClient.RegisterBlockEpochNtfn(): %v", err)
cancel()
time.Sleep(1 * time.Second)
continue
}
for {