Skip to content

Commit

Permalink
Fixed go doc for endpoints with msg index to start at 0
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiDiachuk committed Oct 28, 2024
1 parent 2e19a7b commit a0165af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protobuf/flow/executiondata/executiondata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ message SubscribeEventsResponse {
// Timestamp from the block containing the events.
google.protobuf.Timestamp block_timestamp = 4;

// The message index of the response message. Used by the client to ensure they received all messages. Starts from "1".
// The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
uint64 message_index = 5;
}

Expand Down Expand Up @@ -618,7 +618,7 @@ message SubscribeAccountStatusesResponse {
// Block height of the block containing the events.
uint64 block_height = 2;

// The message index of the response message. Used by the client to ensure they received all messages. Starts from "1".
// The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
uint64 message_index = 3;

message Result {
Expand Down

0 comments on commit a0165af

Please sign in to comment.