Skip to content

Commit

Permalink
fix: active wallet's offline signer not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed Jan 10, 2024
1 parent ebdc9ec commit 9c1c487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ function TransactionDialogContent({
raise(`executeRoute error: cannot find chain '${chainID}'`);

const { wallets } = getWalletRepo(chain.chainName);

const wallet =
wallets.find((w) => w.isActive) ||
raise(
`executeRoute error: cannot find active wallet for '${chain.chainName}'`,
);
await wallet.initOfflineSigner();

return (
wallet.offlineSigner ||
Expand Down

0 comments on commit 9c1c487

Please sign in to comment.