mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
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:
@@ -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 '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user