feat(deuro-error-handling): Enhance error handling for Deuro Savings Transactions.

This commit is contained in:
Blazebrain 2025-06-27 10:20:06 +01:00
commit d6a30beb42

View file

@ -93,7 +93,8 @@ class DEuro {
signedTransaction: signedTransaction,
fee: BigInt.from(fee.estimatedGasFee),
amount: amount.toString(),
exponent: 18);
exponent: 18,
);
} catch (e) {
if (e.toString().contains('insufficient funds for gas')) {
final ethBalance = await _wallet.getWeb3Client()!.getBalance(_address);