evidence: json tags for DuplicateVoteEvidence (#4959)

## Description

Add json tags to duplicate evidence 

Closes: #4958
This commit is contained in:
Marko
2020-06-04 22:41:16 +00:00
committed by GitHub
parent a88537bb88
commit dc49dcc1c1
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -336,8 +336,8 @@ func RegisterMockEvidences(cdc *amino.Codec) {
// DuplicateVoteEvidence contains evidence a validator signed two conflicting
// votes.
type DuplicateVoteEvidence struct {
VoteA *Vote
VoteB *Vote
VoteA *Vote `json:"vote_a"`
VoteB *Vote `json:"vote_b"`
}
var _ Evidence = &DuplicateVoteEvidence{}