https://github.com/tendermint/tendermint
Raw File
Tip revision: 747f99fdc198d7ae6456b010c9b8857aae97e25f authored by Ethan Buchman on 25 June 2019, 11:57:50 UTC
changelog and version (#3750)
Tip revision: 747f99f
wire.go
package evidence

import (
	amino "github.com/tendermint/go-amino"
	cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
	"github.com/tendermint/tendermint/types"
)

var cdc = amino.NewCodec()

func init() {
	RegisterEvidenceMessages(cdc)
	cryptoAmino.RegisterAmino(cdc)
	types.RegisterEvidences(cdc)
}

// For testing purposes only
func RegisterMockEvidences() {
	types.RegisterMockEvidences(cdc)
}
back to top