mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Add missing pubkey encoding
This commit is contained in:
parent
450480791b
commit
08bb7e4e73
@ -1,6 +1,7 @@
|
||||
import {
|
||||
AccountData,
|
||||
AminoSignResponse,
|
||||
encodeSecp256k1Pubkey,
|
||||
encodeSecp256k1Signature,
|
||||
makeCosmoshubPath,
|
||||
OfflineAminoSigner,
|
||||
@ -52,7 +53,7 @@ export class LedgerSigner implements OfflineAminoSigner {
|
||||
|
||||
return {
|
||||
address: response.address,
|
||||
pubkey: response.compressed_pk,
|
||||
pubkey: encodeSecp256k1Pubkey(response.compressed_pk),
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user