diff --git a/cmd/ethermintcli/main.go b/cmd/ethermintcli/main.go index 8a92cee4c..10ba130ec 100644 --- a/cmd/ethermintcli/main.go +++ b/cmd/ethermintcli/main.go @@ -7,6 +7,7 @@ import ( tmamino "github.com/tendermint/tendermint/crypto/encoding/amino" "github.com/tendermint/tendermint/libs/cli" + "github.com/tendermint/tendermint/crypto/multisig" sdkclient "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" @@ -39,6 +40,7 @@ func main() { tmamino.RegisterKeyType(ethsecp256k1.PubKey{}, ethsecp256k1.PubKeyName) tmamino.RegisterKeyType(ethsecp256k1.PrivKey{}, ethsecp256k1.PrivKeyName) + multisig.RegisterKeyType(ethsecp256k1.PubKey{}, ethsecp256k1.PubKeyName) keys.CryptoCdc = cdc clientkeys.KeysCdc = cdc diff --git a/cmd/ethermintd/main.go b/cmd/ethermintd/main.go index 506c22f84..74093e527 100644 --- a/cmd/ethermintd/main.go +++ b/cmd/ethermintd/main.go @@ -13,6 +13,7 @@ import ( "github.com/tendermint/tendermint/libs/log" tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tm-db" + "github.com/tendermint/tendermint/crypto/multisig" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client/flags" @@ -45,6 +46,7 @@ func main() { tmamino.RegisterKeyType(ethsecp256k1.PubKey{}, ethsecp256k1.PubKeyName) tmamino.RegisterKeyType(ethsecp256k1.PrivKey{}, ethsecp256k1.PrivKeyName) + multisig.RegisterKeyType(ethsecp256k1.PubKey{}, ethsecp256k1.PubKeyName) keys.CryptoCdc = cdc genutil.ModuleCdc = cdc