From 4805e5b1aa567deeac443b6f2b5d9ab721b520f7 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 16 May 2026 08:06:44 -0400 Subject: [PATCH] Actually skip zcash in node_list.resetToDefault (previous commit missed this) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The companion to 78edfe0bb — that commit fixed the migration step 55 but the resetToDefault() in lib/entities/node_list.dart was still trying to loadDefaultNodes(WalletType.zcash) on every fresh wallet creation, which is exactly where the user's reported popup fires. --- lib/entities/node_list.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/entities/node_list.dart b/lib/entities/node_list.dart index bf4e05869..d9c59d3b6 100644 --- a/lib/entities/node_list.dart +++ b/lib/entities/node_list.dart @@ -115,7 +115,9 @@ Future resetToDefault(Box nodeSource) async { final dogecoinElectrumServerList = await loadDefaultNodes(WalletType.dogecoin); final baseNodes = await loadDefaultNodes(WalletType.base); final arbitrumNodes = await loadDefaultNodes(WalletType.arbitrum); - final zcashNodes = await loadDefaultNodes(WalletType.zcash); + // Hash Wallet: zcash node list deleted with the chain. Skip the load, + // skip the concat — stops the first-launch popup "Unable to load asset: + // assets/zcash_node_list.yml". final bscNodes = await loadDefaultNodes(WalletType.bsc); final nodes = moneroNodes + @@ -133,7 +135,6 @@ Future resetToDefault(Box nodeSource) async { dogecoinElectrumServerList + baseNodes + arbitrumNodes + - zcashNodes + bscNodes; await nodeSource.clear();