From 433030fdead61e8008d75f101cb0f295a638357c Mon Sep 17 00:00:00 2001 From: Bill He Date: Mon, 22 Jan 2024 09:48:17 -0800 Subject: [PATCH] update error str --- src/views/forms/AccountManagementForms/DepositForm.tsx | 2 +- src/views/forms/AccountManagementForms/WithdrawForm.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/forms/AccountManagementForms/DepositForm.tsx b/src/views/forms/AccountManagementForms/DepositForm.tsx index 3089572..f2074d5 100644 --- a/src/views/forms/AccountManagementForms/DepositForm.tsx +++ b/src/views/forms/AccountManagementForms/DepositForm.tsx @@ -236,7 +236,7 @@ export const DepositForm = ({ onDeposit, onError }: DepositFormProps) => { } if (isCctp && !abacusStateManager.chainTransactions.isNobleClientConnected) { - throw new Error('Noble client unable to initialize'); + throw new Error('Noble RPC endpoint unaccessible'); } setIsLoading(true); diff --git a/src/views/forms/AccountManagementForms/WithdrawForm.tsx b/src/views/forms/AccountManagementForms/WithdrawForm.tsx index a26a2cf..fb2410a 100644 --- a/src/views/forms/AccountManagementForms/WithdrawForm.tsx +++ b/src/views/forms/AccountManagementForms/WithdrawForm.tsx @@ -149,7 +149,7 @@ export const WithdrawForm = () => { } if (isCctp && !abacusStateManager.chainTransactions.isNobleClientConnected) { - throw new Error('Noble client unable to initialize'); + throw new Error('Noble RPC endpoint unaccessible'); } setIsLoading(true);