htlcswitch: add dedicated block subscription to interceptable switch

Preparation for making the interceptable switch aware of expiring htlcs.
This commit is contained in:
Joost Jager committed 2022-10-18 18:04:33 +02:00
1 parent 4a3e90f4d0
commit a6df9567ba
4 files changed
+92 -5

No files matched your search

+1
View File
@@ -671,6 +671,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
Switch: s.htlcSwitch,
CltvRejectDelta: lncfg.DefaultFinalCltvRejectDelta,
RequireInterceptor: s.cfg.RequireInterceptor,
Notifier: s.cc.ChainNotifier,
},
)