mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 01:14:28 +00:00
evidence: json tags for DuplicateVoteEvidence (#4959)
## Description Add json tags to duplicate evidence Closes: #4958
This commit is contained in:
+2
-2
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user