Skip to content

Commit

Permalink
fix error when check l2 txhash
Browse files Browse the repository at this point in the history
  • Loading branch information
MickWang committed Apr 9, 2024
1 parent d1c552f commit 9420db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/zksync/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const useZkSyncWalletStore = defineStore("zkSyncWallet", () => {

const getPrimaryL1VoidSigner = () => {
const web3Provider = new ethers.providers.Web3Provider(
getPublicClient({ chainId: primaryNetwork.l1Network?.id }) as any,
onboardStore.getPublicClient(primaryNetwork.l1Network?.id) as any,
"any"
);
const voidSigner = new VoidSigner(account.value.address || ETH_TOKEN.address, web3Provider);
Expand Down

0 comments on commit 9420db8

Please sign in to comment.