diff --git a/.env b/.env index 72d0a6205..b5408b577 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ WALLET_CONNECT_PROJECT_ID=373a8744ceaac00934aec708a3fceea6 -ANKR_TOKEN= \ No newline at end of file +ANKR_TOKEN=d39966271ddadd0313304908744721c7c9c0c83e2785d73602990c8b46267f83 \ No newline at end of file diff --git a/composables/zksync/deposit/useFee.ts b/composables/zksync/deposit/useFee.ts index eeb57286d..167f713ea 100644 --- a/composables/zksync/deposit/useFee.ts +++ b/composables/zksync/deposit/useFee.ts @@ -66,7 +66,7 @@ export default (tokens: Ref, balances: Ref) to: params.to, }); } catch (err) { - if (err instanceof Error && err.message.startsWith("Not enough balance for deposit.")) { + if (err instanceof Error && err.message.startsWith("Not enough balance for deposit!")) { const match = err.message.match(/([\d\\.]+) ETH/); if (feeToken.value && match?.length) { const ethAmount = match[1].split(" ")?.[0];