itest: dedup interceptor packets

Aded a test for the dedup intercepted packets of htlc interceptor.
This commit is contained in:
Roei Erez authored and Olaoluwa Osuntokun committed 2021-10-28 16:16:55 -07:00
1 parent 1f1b33bf85
commit fe44aedb25
3 files changed
+170 -5

No files matched your search

+1 -1
View File
@@ -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
}