fix: wownero P0s, fail-closed RNG, iOS scheme, dep pins

- resetToDefault omitted Wownero: the reset button null-crashed and left
  WOW wallets with an empty node list
- accountLabel was missing a return and rendered blank for WOW wallets
- sec_random now throws instead of returning empty bytes when the native
  entropy channel fails or under-delivers
- iOS builds no longer register the leftover cakewallet:// URL scheme
- WOW fee estimate now fetched from the connected daemon's
  get_fee_estimate RPC and cached; the inherited XMR constant table
  remains only as a pre-fetch fallback
- pin cake_backup, flutter_local_authentication, and bech32 git deps to
  their locked SHAs for reproducible builds
This commit is contained in:
jwinterm
2026-08-15 16:28:39 -04:00
parent 94bf0e8c41
commit 08fb925cea
7 changed files with 77 additions and 15 deletions
+3 -1
View File
@@ -82,6 +82,7 @@ Future<List<Node>> loadDefaultNanoPowNodes() async {
}
Future<void> resetToDefault(Box<Node> nodeSource) async {
final wowneroNodes = await loadDefaultNodes(WalletType.wownero);
final moneroNodes = await loadDefaultNodes(WalletType.monero);
final bitcoinElectrumServerList = await loadDefaultNodes(WalletType.bitcoin);
final litecoinElectrumServerList = await loadDefaultNodes(WalletType.litecoin);
@@ -94,7 +95,8 @@ Future<void> resetToDefault(Box<Node> nodeSource) async {
final arbitrumNodes = await loadDefaultNodes(WalletType.arbitrum);
final bscNodes = await loadDefaultNodes(WalletType.bsc);
final nodes = moneroNodes +
final nodes = wowneroNodes +
moneroNodes +
bitcoinElectrumServerList +
litecoinElectrumServerList +
ethereumNodes +
@@ -389,7 +389,7 @@ abstract class WalletAddressListViewModelBase extends WalletChangeListenerViewMo
case WalletType.monero:
return monero!.getCurrentAccount(wallet).label;
case WalletType.wownero:
wownero!.getCurrentAccount(wallet).label;
return wownero!.getCurrentAccount(wallet).label;
default:
return '';
}