Skip to content

Commit

Permalink
Merge branch 'shivani/detect-faulty-vals' of ssh://github.com/interch…
Browse files Browse the repository at this point in the history
…ainio/tendermint-rs into shivani/detect-faulty-vals
  • Loading branch information
Shivani912 committed Mar 5, 2020
2 parents f95c01d + c40de16 commit 7c0e619
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tendermint/src/lite/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ pub enum Kind {
/// the implementation, if any.
#[error("Implementation specific error")]
ImplementationSpecific,

/// This is returned when a faulty i.e misbehaving full node is found
#[error("Faulty full node: {reason}")]
FaultyFullNode { reason: String },
}

impl Kind {
Expand Down

0 comments on commit 7c0e619

Please sign in to comment.