From 8cd1189e8ca188361bd67c13e7af16a54c6c3b76 Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Mon, 11 Apr 2022 15:50:05 +0530 Subject: [PATCH] fix: fix the eth keys register --- crypto/codec/codec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/codec/codec.go b/crypto/codec/codec.go index 86451e20..9731d91a 100644 --- a/crypto/codec/codec.go +++ b/crypto/codec/codec.go @@ -10,4 +10,5 @@ import ( // RegisterInterfaces register the Ethermint key concrete types. func RegisterInterfaces(registry codectypes.InterfaceRegistry) { registry.RegisterImplementations((*cryptotypes.PubKey)(nil), ðsecp256k1.PubKey{}) + registry.RegisterImplementations((*cryptotypes.PrivKey)(nil), ðsecp256k1.PrivKey{}) }