diff --git a/btcwallet/index.html b/btcwallet/index.html index 2484299..1d8caad 100644 --- a/btcwallet/index.html +++ b/btcwallet/index.html @@ -2073,10 +2073,10 @@ console.error(error) if (error.hasOwnProperty('hasInsufficientBalance')) { notify('Insufficient balance', 'error') - } else if (error === 'TypeError: Failed to fetch') { + } else { notify(`
-

Couldn't fetch transaction ID!

+

Error sending transaction

Please check transaction history before retrying.

`, 'error', { @@ -2088,8 +2088,7 @@ } } }); - } else { - notify(`Error sending transaction \n ${error}`, 'error'); + console.error(error) } }).finally(_ => { buttonLoader('send_transaction', false)