Skip to content

Commit

Permalink
chore: fixed type tendermint/DuplicateVoteEvidence
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed May 13, 2024
1 parent c0c4503 commit 937cdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/evidence.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,8 @@ func EvidenceFromProto(evidence *cmtproto.Evidence) (Evidence, error) {
}

func init() {
cmtjson.RegisterType(&DuplicateVoteEvidence{}, "cometbft/v38/DuplicateVoteEvidence")
cmtjson.RegisterType(&LightClientAttackEvidence{}, "cometbft/v38/LightClientAttackEvidence")
cmtjson.RegisterType(&DuplicateVoteEvidence{}, "tendermint/DuplicateVoteEvidence")
cmtjson.RegisterType(&LightClientAttackEvidence{}, "tendermint/LightClientAttackEvidence")
}

//-------------------------------------------- ERRORS --------------------------------------
Expand Down

0 comments on commit 937cdaa

Please sign in to comment.