forked from cerc-io/laconicd-deprecated
9311f9efd0
* Migrate keybase back to Cosmos-sdk using temporary fork * Cleaned up other affected code * Change to updated tendermint * fmt * Change auth codec update * clean up codec registration to respective packages * Fix import fmt * Remove no longer necessary replace * Fix function comment
23 lines
402 B
Go
23 lines
402 B
Go
package types
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
)
|
|
|
|
var typesCodec = codec.New()
|
|
|
|
func init() {
|
|
RegisterCodec(typesCodec)
|
|
}
|
|
|
|
const (
|
|
// Amino encoding name
|
|
EthermintAccountName = "emint/Account"
|
|
)
|
|
|
|
// RegisterCodec registers all the necessary types with amino for the given
|
|
// codec.
|
|
func RegisterCodec(cdc *codec.Codec) {
|
|
cdc.RegisterConcrete(&Account{}, EthermintAccountName, nil)
|
|
}
|