Skip to content

Commit

Permalink
Add NodeState::ChitchatId() -> &ChitchatId
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Mar 6, 2024
1 parent 867207e commit ed8ec92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chitchat/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ impl NodeState {
}
}

pub fn chitchat_id(&self) -> &ChitchatId {
&self.chitchat_id
}

pub fn last_gc_version(&self) -> Version {
self.last_gc_version
}
Expand Down

0 comments on commit ed8ec92

Please sign in to comment.