From ce72336c1590ccb86fa43419253c6c2bcf497af5 Mon Sep 17 00:00:00 2001 From: ylsGit Date: Wed, 13 Jan 2021 19:55:23 +0800 Subject: [PATCH] fix issue#716 --- cmd/ethermintcli/main.go | 2 ++ cmd/ethermintd/main.go | 2 ++ 2 files changed, 4 insertions(+) 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