mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
CW-441 xmr price issue (#1005)
* refactor fiat_rate_update * remove commented line
This commit is contained in:
@@ -66,7 +66,8 @@ abstract class BalanceViewModelBase with Store {
|
||||
final price = fiatConvertationStore.prices[appStore.wallet!.currency];
|
||||
|
||||
if (price == null) {
|
||||
throw Exception('No price for ${appStore.wallet!.currency} (current wallet)');
|
||||
// price should update on next fetch:
|
||||
return 0;
|
||||
}
|
||||
|
||||
return price;
|
||||
|
||||
Reference in New Issue
Block a user