laconicd-deprecated/types/codec.go
Federico Kunze 5a3d514ba0
conflicts
2021-04-17 12:00:07 +02:00

20 lines
486 B
Go

package types
import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
)
// RegisterInterfaces registers the tendermint concrete client-related
// implementations and interfaces.
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
registry.RegisterImplementations(
(*authtypes.AccountI)(nil),
&EthAccount{},
)
registry.RegisterImplementations(
(*authtypes.GenesisAccount)(nil),
&EthAccount{},
)
}