fix: fix the eth keys register

This commit is contained in:
Sai Kumar 2022-04-11 15:50:05 +05:30
parent a0e2858d4f
commit 8cd1189e8c

View File

@ -10,4 +10,5 @@ import (
// RegisterInterfaces register the Ethermint key concrete types.
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
registry.RegisterImplementations((*cryptotypes.PubKey)(nil), &ethsecp256k1.PubKey{})
registry.RegisterImplementations((*cryptotypes.PrivKey)(nil), &ethsecp256k1.PrivKey{})
}