itest: dedup interceptor packets
Aded a test for the dedup intercepted packets of htlc interceptor.
This commit is contained in:
1 parent
1f1b33bf85
commit
fe44aedb25
3 files changed
+170
-5
No files matched your search
@@ -150,7 +150,7 @@ func (r *forwardInterceptor) holdAndForwardToClient(
|
||||
htlc := forward.Packet()
|
||||
inKey := htlc.IncomingCircuit
|
||||
|
||||
// ignore already held htlcs.
|
||||
// Ignore already held htlcs.
|
||||
if _, ok := r.holdForwards[inKey]; ok {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user