diff --git a/packages/wallet-ts/src/utils/wallets/welldone/WelldoneWallet.ts b/packages/wallet-ts/src/utils/wallets/welldone/WelldoneWallet.ts index 945632d15..009d3d5d8 100644 --- a/packages/wallet-ts/src/utils/wallets/welldone/WelldoneWallet.ts +++ b/packages/wallet-ts/src/utils/wallets/welldone/WelldoneWallet.ts @@ -6,7 +6,6 @@ import { } from '@injectivelabs/ts-types' import { TxResponse, TxRestApi, CosmosTxV1Beta1Tx } from '@injectivelabs/sdk-ts' import { DirectSignResponse, makeSignBytes } from '@cosmjs/proto-signing' -import { encodeSecp256k1Pubkey } from '@cosmjs/amino' import { ErrorType, UnspecifiedErrorCode, @@ -112,9 +111,13 @@ export class WelldoneWallet { return { signed: signDoc, signature: { - pub_key: encodeSecp256k1Pubkey( - Buffer.from(response[0].publicKey.replace('0x', ''), 'hex'), - ), + pub_key: { + type: '/cosmos.crypto.secp256k1.PubKey', + value: Buffer.from( + response[0].publicKey.replace('0x', ''), + 'hex', + ).toString('base64'), + }, signature: Buffer.from( response[0].signature.replace('0x', ''), 'hex',