mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-28 11:34:52 +01:00
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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user