mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Bump NBX (#1277)
This commit is contained in:
parent
9aa0603d87
commit
05223c1a5f
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||||
<PackageReference Include="NBXplorer.Client" Version="3.0.1" />
|
<PackageReference Include="NBXplorer.Client" Version="3.0.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -48,9 +48,9 @@ namespace BTCPayServer
|
|||||||
throw new FormatException();
|
throw new FormatException();
|
||||||
}
|
}
|
||||||
if (type == DerivationType.Segwit)
|
if (type == DerivationType.Segwit)
|
||||||
return new DirectDerivationStrategy(extPubKey) { Segwit = true };
|
return new DirectDerivationStrategy(extPubKey, true);
|
||||||
if (type == DerivationType.Legacy)
|
if (type == DerivationType.Legacy)
|
||||||
return new DirectDerivationStrategy(extPubKey) { Segwit = false };
|
return new DirectDerivationStrategy(extPubKey, false);
|
||||||
if (type == DerivationType.SegwitP2SH)
|
if (type == DerivationType.SegwitP2SH)
|
||||||
return BtcPayNetwork.NBXplorerNetwork.DerivationStrategyFactory.Parse(extPubKey.ToString() + "-[p2sh]");
|
return BtcPayNetwork.NBXplorerNetwork.DerivationStrategyFactory.Parse(extPubKey.ToString() + "-[p2sh]");
|
||||||
throw new FormatException();
|
throw new FormatException();
|
||||||
|
Loading…
Reference in New Issue
Block a user