mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-26 15:57:40 +02:00
itest: dedup interceptor packets
Aded a test for the dedup intercepted packets of htlc interceptor.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
1f1b33bf85
commit
fe44aedb25
@@ -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