diff --git a/packages/store/__tests__/chain-wallet-store.test.ts b/packages/store/__tests__/chain-wallet-store.test.ts index c506a5a6d..7f005171b 100644 --- a/packages/store/__tests__/chain-wallet-store.test.ts +++ b/packages/store/__tests__/chain-wallet-store.test.ts @@ -507,7 +507,7 @@ describe('ChainWalletStore', () => { 'cosmoshub-4', 'cosmos1abc123', mockSignDoc, - {} + undefined ); }); @@ -546,7 +546,7 @@ describe('ChainWalletStore', () => { 'cosmoshub-4', 'cosmos1abc123', mockSignDoc, - {} + undefined ); }); }); diff --git a/packages/store/src/wallet-manager/chain-wallet-store.ts b/packages/store/src/wallet-manager/chain-wallet-store.ts index a41bd06c1..9dada020f 100644 --- a/packages/store/src/wallet-manager/chain-wallet-store.ts +++ b/packages/store/src/wallet-manager/chain-wallet-store.ts @@ -112,13 +112,13 @@ export class ChainWalletStore extends BaseWallet { const aminoOfflineSigner = { getAccounts: async () => [account], signAmino: async (signer: string, signDoc: StdSignDoc) => { - return cosmosWallet.signAmino(this.chain.chainId, signer, signDoc, {}); + return cosmosWallet.signAmino(this.chain.chainId, signer, signDoc, undefined); } }; const directOfflineSigner = { getAccounts: async () => [account], signDirect: async (signer: string, signDoc: DirectSignDoc) => { - return cosmosWallet.signDirect(this.chain.chainId, signer, signDoc, {}); + return cosmosWallet.signDirect(this.chain.chainId, signer, signDoc, undefined); } }; @@ -135,4 +135,4 @@ export class ChainWalletStore extends BaseWallet { getWalletOfType(WalletClass: new (...args: any[]) => T) { return getWalletByType(this.wallet, WalletClass); } -} \ No newline at end of file +}