Skip to content

Commit

Permalink
Use proper id in DeclareToken for p2p_peer
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Jun 4, 2024
1 parent a29c994 commit ef360ce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions zenoh/src/net/routing/hat/p2p_peer/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ fn propagate_simple_token_to(
ext_tstamp: None,
ext_nodeid: ext::NodeIdType::DEFAULT,
body: DeclareBody::DeclareToken(DeclareToken {
// TODO(fuzzypixelz): In the subscription-based
// implementation of liveliness, there was a comment
// here that stated "use proper SubscriberId"
id: 0,
id,
wire_expr: key_expr,
}),
interest_id: None,
Expand Down

0 comments on commit ef360ce

Please sign in to comment.