itest: remove redundant resume action

Removed a redundant resume action found in
`testForwardInterceptorRestart`, which was put there likely due to a
mistake.
This commit is contained in:
yyforyongyu 2025-03-10 14:06:10 +08:00
parent 51daa13cd7
commit d0abfbbaff
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868

View file

@ -438,12 +438,6 @@ func testForwardInterceptorRestart(ht *lntest.HarnessTest) {
require.Equal(ht, lntest.CustomRecordsWithUnendorsed(customRecords), require.Equal(ht, lntest.CustomRecordsWithUnendorsed(customRecords),
packet.InWireCustomRecords) packet.InWireCustomRecords)
err = carolInterceptor.Send(&routerrpc.ForwardHtlcInterceptResponse{
IncomingCircuitKey: packet.IncomingCircuitKey,
Action: actionResume,
})
require.NoError(ht, err, "failed to send request")
// And now we forward the payment at Carol, expecting only an // And now we forward the payment at Carol, expecting only an
// endorsement signal in our incoming custom records. // endorsement signal in our incoming custom records.
packet = ht.ReceiveHtlcInterceptor(carolInterceptor) packet = ht.ReceiveHtlcInterceptor(carolInterceptor)