From 9e3329153f8cb530d63e2d41296b54476b39c7fe Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 31 Oct 2024 01:19:36 +0100 Subject: [PATCH] fix error message --- libs/remix-lib/src/execution/txRunnerWeb3.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-lib/src/execution/txRunnerWeb3.ts b/libs/remix-lib/src/execution/txRunnerWeb3.ts index b2c46feff4..6a7126dc5c 100644 --- a/libs/remix-lib/src/execution/txRunnerWeb3.ts +++ b/libs/remix-lib/src/execution/txRunnerWeb3.ts @@ -166,7 +166,7 @@ export class TxRunnerWeb3 { .catch(err => { if (err && err.error && err.error.indexOf('Invalid JSON RPC response') !== -1) { // // @todo(#378) this should be removed when https://github.com/WalletConnect/walletconnect-monorepo/issues/334 is fixed - callback(new Error('Gas estimation failed because of an unknown internal error. This may indicated that the transaction will fail.')) + callback(new Error('Gas estimation failed because of an unknown internal error. This indicates that the transaction could fail.')) return } err = network.name === 'VM' ? null : err // just send the tx if "VM"