We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a03083 commit c83bc3bCopy full SHA for c83bc3b
staticaddr/loopin/actions.go
@@ -665,7 +665,14 @@ func (f *FSM) MonitorInvoiceAndHtlcTxAction(ctx context.Context,
665
case err = <-blockChanErr:
666
f.Errorf("block subscription error: %v", err)
667
668
- return f.HandleError(err)
+ // Re-register for block notifications.
669
+ blockChan, blockChanErr, err = registerBlocks(ctx)
670
+ if err != nil {
671
+ err = fmt.Errorf("unable to subscribe to "+
672
+ "new blocks: %v", err)
673
+
674
+ return f.HandleError(err)
675
+ }
676
677
case update := <-invoiceUpdateChan:
678
switch update.State {
0 commit comments