This commit is contained in:
Fate-JH 2026-05-08 20:09:01 +02:00 committed by GitHub
commit bc254dbdd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -938,7 +938,7 @@ class MiddlewareActor(
private def inSubslotNotMissing(slot: Int, subslot: Int, inner: ByteVector): Unit = {
if (subslot == inSubslot + 1) {
in(PacketCoding.decodePacket(inner))
send(RelatedB(slot, subslot))
send(RelatedB(slot % 4, subslot))
inSubslot = subslot
} else if (subslot > inSubslot + 1) {
in(PacketCoding.decodePacket(inner))
@ -1011,7 +1011,7 @@ class MiddlewareActor(
if (inSubslotsMissing.isEmpty) {
subslotMissingProcessor.cancel()
activeSubslotsFunc = inSubslotNotMissing
send(RelatedB(slot, inSubslot)) //send a confirmation packet after all requested packets are handled
send(RelatedB(slot % 4, inSubslot)) //send a confirmation packet after all requested packets are handled
log.trace("normalcy with packet subslot order; resuming normal workflow")
}
}