mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-03 09:29:10 +01:00
Fix QR code wallet import when not electrum format
This commit is contained in:
parent
a64dd9af16
commit
cc8dcade49
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue