Files
purple-electrumwallet/electrum
f321x 5199c6c742 ExchangeRate: return NaN if rate is 0
Prevent DivisionByZero exceptions by returning `Decimal('NaN')
instead of `Decimal(0)` if the exchange rate is 0.

Fixes https://github.com/spesmilo/electrum/issues/10403

```
>>> bool(Decimal(0))
False
```
2026-01-13 13:57:14 +01:00
..
2025-08-23 18:59:14 +00:00
2025-08-18 15:38:25 +00:00
2025-12-02 10:38:10 +01:00
2025-12-17 10:23:16 +00:00
2025-08-08 14:34:53 +00:00
2025-09-13 23:12:44 -04:00