package ed25519 import ( amino "github.com/tendermint/go-amino" "github.com/tendermint/tendermint/crypto" ) var cdc = amino.NewCodec() func init() { cdc.RegisterInterface((*crypto.PubKey)(nil), nil) cdc.RegisterConcrete(PubKey{}, PubKeyAminoName, nil) cdc.RegisterInterface((*crypto.PrivKey)(nil), nil) cdc.RegisterConcrete(PrivKey{}, PrivKeyAminoName, nil) }