From fb3dd1e4974cee618d54485b851dece460bc5228 Mon Sep 17 00:00:00 2001 From: LeoLTM <44781682+LeoLTM@users.noreply.github.com> Date: Tue, 31 Mar 2026 16:54:21 +0200 Subject: [PATCH] fix: update sequence counter implementation in ack_hdr --- include/sero/runtime.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sero/runtime.hpp b/include/sero/runtime.hpp index 6cceb40..18034ee 100644 --- a/include/sero/runtime.hpp +++ b/include/sero/runtime.hpp @@ -801,7 +801,7 @@ class Runtime { ack_hdr.service_id = SD_SERVICE_ID; ack_hdr.method_event_id = static_cast(SdMethod::SD_SUBSCRIBE_ACK); ack_hdr.client_id = client_id_; - ack_hdr.sequence_counter = e2e_.next_sequence(); + ack_hdr.sequence_counter = sd_seq_++; ack_hdr.request_id = 0; ack_hdr.payload_length = SD_SUBSCRIBE_PAYLOAD_SIZE; ack_hdr.serialize(tx_buffer_);