Fix wallet import (#5695)

* Fix wallet import

* Improve error message for import of wallet file
This commit is contained in:
Nicolas Dorier
2024-01-24 17:49:15 +09:00
committed by GitHub
parent f31aa43c6a
commit 35b3fef7c5
10 changed files with 160 additions and 71 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, false))
if (jobj is null || !derivationSchemeParser.TryParseXpub(jobj.ExtPubKey, ref result))
return false;
if (jobj.MasterFingerprint is not null)