Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
Merge pull request #28 from EspressoSystems/fix_typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
move47 authored Apr 3, 2024
2 parents 8078f47 + c39d518 commit efd3f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hotshot-events-service"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
8 changes: 4 additions & 4 deletions src/events_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ impl<Types: NodeType> From<Event<Types>> for BuilderEvent<Types> {
#[serde(bound(deserialize = "Types: NodeType"))]
pub enum BuilderEventType<Types: NodeType> {
// Information required by the builder to create a membership to get view leader
StarupInfo {
StartupInfo {
known_node_with_stake: Vec<PeerConfig<Types::SignatureKey>>,
non_statekd_node_count: usize,
non_staked_node_count: usize,
},
/// Hotshot error
HotshotError {
Expand Down Expand Up @@ -204,9 +204,9 @@ impl<Types: NodeType> EventsStreamer<Types> {
pub fn get_startup_event(&self) -> BuilderEvent<Types> {
BuilderEvent {
view_number: Types::Time::genesis(),
event: BuilderEventType::StarupInfo {
event: BuilderEventType::StartupInfo {
known_node_with_stake: self.known_nodes_with_stake.clone(),
non_statekd_node_count: self.non_staked_node_count,
non_staked_node_count: self.non_staked_node_count,
},
}
}
Expand Down

0 comments on commit efd3f75

Please sign in to comment.