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

@@ -30,7 +30,7 @@ public class WasabiWalletFileParser : IWalletFileParser
Network = network
};
if (jobj is null || !derivationSchemeParser.TryParseXpub(jobj.ExtPubKey, ref result, out var error))
if (jobj is null || !derivationSchemeParser.TryParseXpub(jobj.ExtPubKey, ref result, out var error, false))
return false;
if (jobj.MasterFingerprint is not null)