fix build

This commit is contained in:
keorn 2016-12-15 13:45:22 +01:00
parent 943efc21bb
commit 0b9ab0797f

View File

@ -45,7 +45,7 @@ pub struct AuthorityRound {
} }
/// Tendermint seal. /// Tendermint seal.
pub struct AuthorityRound { pub struct Tendermint {
/// Seal round. /// Seal round.
pub round: usize, pub round: usize,
/// Proposal seal signature. /// Proposal seal signature.
@ -62,7 +62,7 @@ impl Into<Generic> for AuthorityRound {
} }
} }
impl Into<Generic> for AuthorityRound { impl Into<Generic> for Tendermint {
fn into(self) -> Generic { fn into(self) -> Generic {
let mut s = RlpStream::new_list(3); let mut s = RlpStream::new_list(3);
s.append(&self.round).append(&self.proposal).append(&self.precommits); s.append(&self.round).append(&self.proposal).append(&self.precommits);