mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 06:47:44 +01:00
htlcswitch: add missing method doc
This commit is contained in:
parent
cc2b7b6fda
commit
b59ecc9270
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue