Workflow updating files of btcwallet

This commit is contained in:
RanchiMall Dev 2024-05-22 11:46:32 +00:00
parent 2628e54ac9
commit c02ea08639

View File

@ -2073,10 +2073,10 @@
console.error(error) console.error(error)
if (error.hasOwnProperty('hasInsufficientBalance')) { if (error.hasOwnProperty('hasInsufficientBalance')) {
notify('Insufficient balance', 'error') notify('Insufficient balance', 'error')
} else if (error === 'TypeError: Failed to fetch') { } else {
notify(` notify(`
<div style="display: grid; gap: 0.3rem;"> <div style="display: grid; gap: 0.3rem;">
<h4>Couldn't fetch transaction ID!</h4> <h4>Error sending transaction</h4>
<p style="font-size: 0.9rem; opacity: 0.8">Please check transaction history before retrying.</p> <p style="font-size: 0.9rem; opacity: 0.8">Please check transaction history before retrying.</p>
</div> </div>
`, 'error', { `, 'error', {
@ -2088,8 +2088,7 @@
} }
} }
}); });
} else { console.error(error)
notify(`Error sending transaction \n ${error}`, 'error');
} }
}).finally(_ => { }).finally(_ => {
buttonLoader('send_transaction', false) buttonLoader('send_transaction', false)