mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
Fix QR code wallet import when not electrum format
This commit is contained in:
parent
a64dd9af16
commit
cc8dcade49
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user