Skip to content

Commit

Permalink
fix LeaderUpdaterError traits
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillLykov committed Nov 6, 2024
1 parent c0fd36e commit c62f562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tpu-client-next/src/leader_updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use {
Arc,
},
},
thiserror::Error,
};

/// [`LeaderUpdater`] trait abstracts out functionality required for the
Expand All @@ -42,6 +43,7 @@ pub trait LeaderUpdater: Send {
}

/// Error type for [`LeaderUpdater`].
#[derive(Error, PartialEq)]
pub struct LeaderUpdaterError;

impl fmt::Display for LeaderUpdaterError {
Expand Down

0 comments on commit c62f562

Please sign in to comment.