htlcswitch: interceptor expiry check

This commit is contained in:
Joost Jager committed 2022-04-12 08:27:06 +02:00
1 parent bae0b6bdf9
commit 13dff2fb3e
6 files changed
+143 -14

No files matched your search

+2 -1
View File
@@ -655,7 +655,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
return nil, err
}
s.interceptableSwitch = htlcswitch.NewInterceptableSwitch(
s.htlcSwitch, s.cfg.RequireInterceptor,
s.htlcSwitch, lncfg.DefaultFinalCltvRejectDelta,
s.cfg.RequireInterceptor,
)
chanStatusMgrCfg := &netann.ChanStatusConfig{