fix: Minor fixes - Solana (#2737)

* fix: Minor fixes

* refactor: handle updates to connectivity status for swipe to send button

* fix: Remove Future.wait
This commit is contained in:
David Adegoke
2025-12-24 04:24:23 +01:00
committed by GitHub
parent ab0e3b65ed
commit f5754ed2d3
6 changed files with 46 additions and 35 deletions
+8
View File
@@ -1053,6 +1053,14 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
return S.current.solana_invalid_data_message;
}
if (errorMessage.contains('Blockhash not found') ||
errorMessage.contains('BlockhashNotFound') ||
errorMessage.contains('BlockhashMNotFound')) {
return 'Transaction failed because its recent blockhash expired. '
'Please retry your send; if this keeps happening, try again in '
'a few seconds or switch to a different Solana node.';
}
return errorMessage;
}
if (walletType == WalletType.ethereum ||