mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-17 04:36:11 +00:00
This reverts commit 39ffa80ae7.
Nightly end-to-end tests are currently failing; revert temporarily so we can
debug.
This commit is contained in:
+1
-2
@@ -518,8 +518,7 @@ func (h *Header) StringIndented(indent string) string {
|
||||
indent, h.LastResultsHash,
|
||||
indent, h.EvidenceHash,
|
||||
indent, h.ProposerAddress,
|
||||
indent, h.Hash(),
|
||||
)
|
||||
indent, h.Hash())
|
||||
}
|
||||
|
||||
// ToProto converts Header to protobuf
|
||||
|
||||
@@ -326,18 +326,6 @@ func (vote *Vote) ToProto() *tmproto.Vote {
|
||||
}
|
||||
}
|
||||
|
||||
func VotesToProto(votes []*Vote) (res []*tmproto.Vote) {
|
||||
if votes == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
res = make([]*tmproto.Vote, len(votes))
|
||||
for i, vote := range votes {
|
||||
res[i] = vote.ToProto()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func VoteExtensionFromProto(pext *tmproto.VoteExtension) VoteExtension {
|
||||
ext := VoteExtension{}
|
||||
if pext != nil {
|
||||
|
||||
@@ -226,10 +226,6 @@ func (voteSet *VoteSet) getVote(valIndex int32, blockKey string) (vote *Vote, ok
|
||||
return nil, false
|
||||
}
|
||||
|
||||
func (voteSet *VoteSet) GetVotes() []*Vote {
|
||||
return voteSet.votes
|
||||
}
|
||||
|
||||
// Assumes signature is valid.
|
||||
// If conflicting vote exists, returns it.
|
||||
func (voteSet *VoteSet) addVerifiedVote(
|
||||
|
||||
Reference in New Issue
Block a user