We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac16dd commit dc36f72Copy full SHA for dc36f72
cmd/query/account.go
@@ -5,6 +5,8 @@ import (
5
"encoding/hex"
6
"encoding/json"
7
"fmt"
8
+ "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
9
+ "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"
10
"io"
11
"math/big"
12
"net/http"
@@ -132,6 +134,16 @@ func GetQueryAccountCommand() *cobra.Command {
132
134
(*cryptotypes.PubKey)(nil),
133
135
ðsecp256k1.PubKey{},
136
)
137
+ ir.RegisterInterface(
138
+ "cosmos.crypto.secp256k1.PubKey",
139
+ (*cryptotypes.PubKey)(nil),
140
+ &secp256k1.PubKey{},
141
+ )
142
143
+ "cosmos.crypto.secp256r1.PubKey",
144
145
+ &secp256r1.PubKey{},
146
147
cdc := sdkcodec.NewProtoCodec(ir)
148
149
var account exported.VestingAccount
0 commit comments