From 1297e8f7c70e76b973ae10d619dc05e6ddf34d7d Mon Sep 17 00:00:00 2001 From: ffranr Date: Tue, 9 Apr 2024 14:13:09 +0100 Subject: [PATCH] htlcswitch: add missing method doc --- htlcswitch/interceptable_switch.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htlcswitch/interceptable_switch.go b/htlcswitch/interceptable_switch.go index 0ac19a36c..5517eb82d 100644 --- a/htlcswitch/interceptable_switch.go +++ b/htlcswitch/interceptable_switch.go @@ -387,6 +387,8 @@ func (s *InterceptableSwitch) setInterceptor(interceptor ForwardInterceptor) { }) } +// resolve processes a HTLC given the resolution type specified by the +// intercepting client. func (s *InterceptableSwitch) resolve(res *FwdResolution) error { intercepted, err := s.heldHtlcSet.pop(res.Key) if err != nil {