Skip to content

Commit

Permalink
utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 19, 2019
1 parent 23042bb commit 226ee38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tendermint/src/lite/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ pub trait Vote {
fn signature(&self) -> &[u8];
}

#[derive(Debug)]
pub enum Error {
Expired,
NonSequentialHeight,
Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use signatory_dalek::Ed25519Verifier;
use subtle_encoding::base64;

/// Validator set contains a vector of validators
#[derive(Debug)]
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Set {
validators: Vec<Info>,
}
Expand Down

0 comments on commit 226ee38

Please sign in to comment.