Skip to content

Commit

Permalink
remove associated type (Vote) from SignedHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Dec 9, 2019
1 parent b6834fd commit d2b3bc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tendermint/src/lite/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ where
H: Header,
C: Commit,
{
type Vote: Vote;
fn header(&self) -> H;
fn commit(&self) -> C;
}
Expand Down
2 changes: 0 additions & 2 deletions tendermint/src/rpc/endpoint/commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ pub struct SignedHeader {
}

impl lite::SignedHeader<block::Header, SignedHeader> for SignedHeader {
type Vote = SignedVote;

fn header(&self) -> block::Header {
self.clone().header
}
Expand Down

0 comments on commit d2b3bc1

Please sign in to comment.