What changed, and why it matters
This commit simply changes an error message shown to users when no cryptocurrency exchange provider can create a quote. Instead of a generic failure message, the app now tells the user which specific cryptocurrency could not be quoted. There is no security issue here.
No security action needed; this is a routine UX improvement.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A single-line change in lib/view_model/buy/buy_sell_view_model.dart passes an errorMessage parameter to the BuySellQuotFailed state constructor when the validQuotes list is empty. The message interpolates cryptoCurrency.fullName. No logic, validation, or trust boundary changes are present.
Changed components
lib/view_model/buy/buy_sell_view_model.dartInspect captured patch +1 / −1
diff --git a/lib/view_model/buy/buy_sell_view_model.dart b/lib/view_model/buy/buy_sell_view_model.dart
index 4228057c..0116b943 100644
--- a/lib/view_model/buy/buy_sell_view_model.dart
+++ b/lib/view_model/buy/buy_sell_view_model.dart
@@ -544,7 +544,7 @@ abstract class BuySellViewModelBase extends WalletChangeListenerViewModel with S
.toList();
if (validQuotes.isEmpty) {
- buySellQuotState = BuySellQuotFailed();
+ buySellQuotState = BuySellQuotFailed(errorMessage: "No provider could create a quote for ${cryptoCurrency.fullName}");
return;
}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.