|
@ -19,6 +19,8 @@ func RegisterAmino(cdc *amino.Codec) { |
|
|
cdc.RegisterInterface((*PubKey)(nil), nil) |
|
|
cdc.RegisterInterface((*PubKey)(nil), nil) |
|
|
cdc.RegisterConcrete(PubKeyEd25519{}, |
|
|
cdc.RegisterConcrete(PubKeyEd25519{}, |
|
|
"tendermint/PubKeyEd25519", nil) |
|
|
"tendermint/PubKeyEd25519", nil) |
|
|
|
|
|
cdc.RegisterConcrete(PubKeyLedgerEd25519{}, |
|
|
|
|
|
"tendermint/PubKeyLedgerEd25519", nil) |
|
|
cdc.RegisterConcrete(PubKeySecp256k1{}, |
|
|
cdc.RegisterConcrete(PubKeySecp256k1{}, |
|
|
"tendermint/PubKeySecp256k1", nil) |
|
|
"tendermint/PubKeySecp256k1", nil) |
|
|
|
|
|
|
|
@ -29,6 +31,8 @@ func RegisterAmino(cdc *amino.Codec) { |
|
|
"tendermint/PrivKeySecp256k1", nil) |
|
|
"tendermint/PrivKeySecp256k1", nil) |
|
|
cdc.RegisterConcrete(PrivKeyLedgerSecp256k1{}, |
|
|
cdc.RegisterConcrete(PrivKeyLedgerSecp256k1{}, |
|
|
"tendermint/PrivKeyLedgerSecp256k1", nil) |
|
|
"tendermint/PrivKeyLedgerSecp256k1", nil) |
|
|
|
|
|
cdc.RegisterConcrete(PrivKeyLedgerEd25519{}, |
|
|
|
|
|
"tendermint/PrivKeyLedgerEd25519", nil) |
|
|
|
|
|
|
|
|
cdc.RegisterInterface((*Signature)(nil), nil) |
|
|
cdc.RegisterInterface((*Signature)(nil), nil) |
|
|
cdc.RegisterConcrete(SignatureEd25519{}, |
|
|
cdc.RegisterConcrete(SignatureEd25519{}, |
|
|