Filters out TRC10 spam transactions and modifies Solana error messages (#1587)

* fix: Tron and solana fixes

* fix: Disable send all for solana wallets

* fix: Add localization and add tostring to get more info on error

* fix: Fix spelling for comment

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
David Adegoke 2024-08-10 00:02:47 +01:00 committed by GitHub
parent b412d45f0e
commit 96baf460f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 42 additions and 5 deletions

View file

@ -456,7 +456,7 @@ class SolanaWalletClient {
funder: ownerKeypair,
);
} catch (e) {
throw Exception('Insufficient SOL balance to complete this transaction');
throw Exception('Insufficient SOL balance to complete this transaction: ${e.toString()}');
}
// Input by the user

View file

@ -11,7 +11,7 @@ environment:
dependencies:
flutter:
sdk: flutter
solana: ^0.30.1
solana: ^0.30.4
cw_core:
path: ../cw_core
http: ^1.1.0