Wallet file parsing: Add Wasabi test case and re-add Electrum distinction (#5694)

* Extend tests, add Wasabi file

* Re-add Electrum distinction

* Specter: Fix indentation

* Cleanups
This commit is contained in:
d11n
2024-01-24 01:28:22 +01:00
committed by GitHub
parent b03f8db06b
commit f31aa43c6a
8 changed files with 33 additions and 27 deletions

View File

@@ -27,9 +27,11 @@ public class SpecterWalletFileParser : IWalletFileParser
return false;
if (!_outputDescriptorOnChainWalletParser.TryParse(network, jobj.descriptor, out derivationSchemeSettings))
return false;
derivationSchemeSettings.Source = "Specter";
if (jobj.label is not null)
derivationSchemeSettings.Label = jobj.label;
derivationSchemeSettings.Label = jobj.label;
return true;
}
}