Workflow updating files of btcwallet
This commit is contained in:
parent
2628e54ac9
commit
c02ea08639
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user