@@ -902,12 +902,12 @@ class PaymentLifecycleSpec extends BaseRouterSpec {
902902 (RemoteFailure (defaultAmountMsat, blindedRoute_abc, Sphinx .DecryptedFailurePacket (b, InvalidOnionBlinding (randomBytes32()))), Set .empty, Set (ChannelDesc (blindedHop_bc.dummyId, blindedHop_bc.nodeId, blindedHop_bc.nextNodeId))),
903903 (RemoteFailure (defaultAmountMsat, blindedRoute_abc, Sphinx .DecryptedFailurePacket (blindedHop_bc.resolved.route.blindedNodeIds(1 ), InvalidOnionBlinding (randomBytes32()))), Set .empty, Set (ChannelDesc (blindedHop_bc.dummyId, blindedHop_bc.nodeId, blindedHop_bc.nextNodeId))),
904904 // unreadable remote failures -> blacklist all nodes except our direct peer, the final recipient, the last hop or nodes relaying attribution data
905- (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: Nil , ByteVector .empty, None , Nil ), Set .empty, Set .empty),
906- (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: Nil , ByteVector .empty, None , Nil ), Set (c), Set .empty),
907- (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: channelHopFromUpdate(d, e, update_de) :: Nil , ByteVector .empty, None , Nil ), Set (c, d), Set .empty),
908- (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: channelHopFromUpdate(d, e, update_de) :: Nil , ByteVector .empty, None , Seq (HoldTime (100 millis, b), HoldTime (90 millis, c), HoldTime (80 millis, d))), Set (d), Set .empty),
909- (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: NodeHop (d, e, CltvExpiryDelta (24 ), 0 msat) :: Nil , ByteVector .empty, None , Nil ), Set (c), Set .empty),
910- (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: blindedHop_de :: Nil , ByteVector .empty, None , Nil ), Set (c), Set .empty),
905+ (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: Nil , Sphinx . CannotDecryptFailurePacket ( ByteVector .empty, None ) , Nil ), Set .empty, Set .empty),
906+ (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: Nil , Sphinx . CannotDecryptFailurePacket ( ByteVector .empty, None ) , Nil ), Set (c), Set .empty),
907+ (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: channelHopFromUpdate(d, e, update_de) :: Nil , Sphinx . CannotDecryptFailurePacket ( ByteVector .empty, None ) , Nil ), Set (c, d), Set .empty),
908+ (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: channelHopFromUpdate(d, e, update_de) :: Nil , Sphinx . CannotDecryptFailurePacket ( ByteVector .empty, None ) , Seq (HoldTime (100 millis, b), HoldTime (90 millis, c), HoldTime (80 millis, d))), Set (d), Set .empty),
909+ (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: NodeHop (d, e, CltvExpiryDelta (24 ), 0 msat) :: Nil , Sphinx . CannotDecryptFailurePacket ( ByteVector .empty, None ) , Nil ), Set (c), Set .empty),
910+ (UnreadableRemoteFailure (defaultAmountMsat, channelHopFromUpdate(a, b, update_ab) :: channelHopFromUpdate(b, c, update_bc) :: channelHopFromUpdate(c, d, update_cd) :: blindedHop_de :: Nil , Sphinx . CannotDecryptFailurePacket ( ByteVector .empty, None ) , Nil ), Set (c), Set .empty),
911911 )
912912
913913 for ((failure, expectedNodes, expectedChannels) <- testCases) {
0 commit comments