mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Bump lightning lib, fix warnings
This commit is contained in:
parent
bb1138efb5
commit
ed0ccd6f13
@ -3,7 +3,7 @@ namespace BTCPayServer.Client.Models;
|
|||||||
public class LightningAddressData
|
public class LightningAddressData
|
||||||
{
|
{
|
||||||
public string Username { get; set; }
|
public string Username { get; set; }
|
||||||
public string? CurrencyCode { get; set; }
|
public string CurrencyCode { get; set; }
|
||||||
public decimal? Min { get; set; }
|
public decimal? Min { get; set; }
|
||||||
public decimal? Max { get; set; }
|
public decimal? Max { get; set; }
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ namespace BTCPayServer.Data
|
|||||||
[Obsolete("Use GetDerivationStrategies instead")]
|
[Obsolete("Use GetDerivationStrategies instead")]
|
||||||
public string DerivationStrategy { get; set; }
|
public string DerivationStrategy { get; set; }
|
||||||
|
|
||||||
[Obsolete("Use GetDerivationStrategies instead")]
|
|
||||||
public string DerivationStrategies { get; set; }
|
public string DerivationStrategies { get; set; }
|
||||||
|
|
||||||
public string StoreName { get; set; }
|
public string StoreName { get; set; }
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="BIP78.Sender" Version="0.2.2" />
|
<PackageReference Include="BIP78.Sender" Version="0.2.2" />
|
||||||
<PackageReference Include="BTCPayServer.Hwi" Version="2.0.2" />
|
<PackageReference Include="BTCPayServer.Hwi" Version="2.0.2" />
|
||||||
<PackageReference Include="BTCPayServer.Lightning.All" Version="1.4.19" />
|
<PackageReference Include="BTCPayServer.Lightning.All" Version="1.4.20" />
|
||||||
<PackageReference Include="CsvHelper" Version="15.0.5" />
|
<PackageReference Include="CsvHelper" Version="15.0.5" />
|
||||||
<PackageReference Include="Dapper" Version="2.0.123" />
|
<PackageReference Include="Dapper" Version="2.0.123" />
|
||||||
<PackageReference Include="Fido2" Version="2.0.2" />
|
<PackageReference Include="Fido2" Version="2.0.2" />
|
||||||
|
@ -262,7 +262,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||||||
{
|
{
|
||||||
cryptoCode = _networkProvider.DefaultNetwork.CryptoCode,
|
cryptoCode = _networkProvider.DefaultNetwork.CryptoCode,
|
||||||
pullPaymentId = pullPaymentId
|
pullPaymentId = pullPaymentId
|
||||||
}, Request.Scheme, Request.Host.ToString()));
|
}, Request.Scheme, Request.Host.ToString())!);
|
||||||
|
|
||||||
return base.Ok(new PullPaymentLNURL() {
|
return base.Ok(new PullPaymentLNURL() {
|
||||||
LNURLBech32 = LNURL.LNURL.EncodeUri(lnurlEndpoint, "withdrawRequest", true).ToString(),
|
LNURLBech32 = LNURL.LNURL.EncodeUri(lnurlEndpoint, "withdrawRequest", true).ToString(),
|
||||||
|
@ -191,7 +191,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||||||
|
|
||||||
var wallet = _btcPayWalletProvider.GetWallet(network);
|
var wallet = _btcPayWalletProvider.GetWallet(network);
|
||||||
var walletId = new WalletId(storeId, cryptoCode);
|
var walletId = new WalletId(storeId, cryptoCode);
|
||||||
var walletTransactionsInfoAsync = await _walletRepository.GetWalletTransactionsInfo(walletId, (string[])null);
|
var walletTransactionsInfoAsync = await _walletRepository.GetWalletTransactionsInfo(walletId, (string[]?)null);
|
||||||
|
|
||||||
var preFiltering = true;
|
var preFiltering = true;
|
||||||
if (statusFilter?.Any() is true || !string.IsNullOrWhiteSpace(labelFilter))
|
if (statusFilter?.Any() is true || !string.IsNullOrWhiteSpace(labelFilter))
|
||||||
|
@ -1295,7 +1295,7 @@ namespace BTCPayServer.Controllers
|
|||||||
return NotFound();
|
return NotFound();
|
||||||
|
|
||||||
var wallet = _walletProvider.GetWallet(paymentMethod.Network);
|
var wallet = _walletProvider.GetWallet(paymentMethod.Network);
|
||||||
var walletTransactionsInfoAsync = WalletRepository.GetWalletTransactionsInfo(walletId, (string[])null);
|
var walletTransactionsInfoAsync = WalletRepository.GetWalletTransactionsInfo(walletId, (string[]?)null);
|
||||||
var input = await wallet.FetchTransactionHistory(paymentMethod.AccountDerivation, null, null);
|
var input = await wallet.FetchTransactionHistory(paymentMethod.AccountDerivation, null, null);
|
||||||
var walletTransactionsInfo = await walletTransactionsInfoAsync;
|
var walletTransactionsInfo = await walletTransactionsInfoAsync;
|
||||||
var export = new TransactionsExport(wallet, walletTransactionsInfo);
|
var export = new TransactionsExport(wallet, walletTransactionsInfo);
|
||||||
|
@ -82,8 +82,6 @@ namespace BTCPayServer.Data
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Type { get; set; }
|
|
||||||
|
|
||||||
public WalletTransactionInfo Merge(WalletTransactionInfo? value)
|
public WalletTransactionInfo Merge(WalletTransactionInfo? value)
|
||||||
{
|
{
|
||||||
var result = new WalletTransactionInfo(WalletId);
|
var result = new WalletTransactionInfo(WalletId);
|
||||||
|
Loading…
Reference in New Issue
Block a user