mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-06 08:07:11 +00:00
types: revert to old wire. builds
This commit is contained in:
+5
-5
@@ -80,13 +80,13 @@ func (evl EvidenceList) Has(evidence Evidence) bool {
|
||||
//-------------------------------------------
|
||||
|
||||
const (
|
||||
wireTypeEvidenceDuplicateVote = "com.tendermint.types.evidence.duplicate_vote"
|
||||
evidenceTypeDuplicateVote = byte(0x01)
|
||||
)
|
||||
|
||||
func init() {
|
||||
wire.RegisterInterface((*Evidence)(nil), nil)
|
||||
wire.RegisterConcrete(&DuplicateVoteEvidence{}, wireTypeEvidenceDuplicateVote, nil)
|
||||
}
|
||||
var _ = wire.RegisterInterface(
|
||||
struct{ Evidence }{},
|
||||
wire.ConcreteType{&DuplicateVoteEvidence{}, evidenceTypeDuplicateVote},
|
||||
)
|
||||
|
||||
//-------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user