Fix QR code wallet import when not electrum format

This commit is contained in:
Kukks 2020-11-24 09:54:17 +01:00
parent a64dd9af16
commit cc8dcade49

View File

@ -74,7 +74,13 @@ namespace BTCPayServer
catch
{
result.Source = "GenericFile";
return TryParseXpub(fileContents, derivationSchemeParser, ref result);
if (TryParseXpub(fileContents, derivationSchemeParser, ref result) ||
TryParseXpub(fileContents, derivationSchemeParser, ref result, false))
{
settings = result;
settings.Network = network;
return true;
}
}
//electrum