Skip to content

Commit

Permalink
fix: tx adapter for contract wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
Argeare5 committed Nov 9, 2023
1 parent 6fc4c14 commit a0a0563
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bgd-labs/frontend-web3-utils",
"description": "Frontend utilities common to multiple Web3 projects",
"version": "0.4.5",
"version": "0.4.51",
"author": "BGD labs",
"license": "MIT",
"private": false,
Expand Down
3 changes: 3 additions & 0 deletions src/web3/store/walletSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ export function createWalletSlice({
get().setClient(wallet.chain.id, client);
walletConnected(activeWallet);
set({ isActiveWalletSetting: false });
if (isContractAddress) {
get().updateEthAdapter(true);
}
}
}
}
Expand Down

0 comments on commit a0a0563

Please sign in to comment.