forked from cerc-io/laconicd-deprecated
Moved crypto codec registration to module (#79)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package types
|
||||
|
||||
import "github.com/cosmos/cosmos-sdk/codec"
|
||||
import (
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
"github.com/cosmos/ethermint/crypto"
|
||||
)
|
||||
|
||||
var ModuleCdc = codec.New()
|
||||
|
||||
@@ -16,4 +19,5 @@ func init() {
|
||||
// RegisterCodec registers concrete types and interfaces on the given codec.
|
||||
func RegisterCodec(cdc *codec.Codec) {
|
||||
cdc.RegisterConcrete(&EthereumTxMsg{}, "ethermint/MsgEthereumTx", nil)
|
||||
crypto.RegisterCodec(cdc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user