mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-25 19:20:00 +02:00
htlcswitch: add missing method doc
This commit is contained in:
parent
7df093b3b1
commit
1297e8f7c7
@ -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 {
|
func (s *InterceptableSwitch) resolve(res *FwdResolution) error {
|
||||||
intercepted, err := s.heldHtlcSet.pop(res.Key)
|
intercepted, err := s.heldHtlcSet.pop(res.Key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user