Lightning: Allow specifying explicit amount for invoices (#3753)

* Upgrade Lightning lib

* Lightning: Allow specifying explicit amount for invoices

* Fix tests
This commit is contained in:
d11n
2022-05-18 07:57:36 +02:00
committed by GitHub
parent f3f605a90f
commit 6d76771b16
8 changed files with 21 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
using BTCPayServer.Client.JsonConverters;
using BTCPayServer.JsonConverters;
using BTCPayServer.Lightning;
using NBitcoin;
using Newtonsoft.Json;
@@ -15,5 +16,8 @@ namespace BTCPayServer.Client.Models
[JsonConverter(typeof(MoneyJsonConverter))]
public Money MaxFeeFlat { get; set; }
[JsonConverter(typeof(LightMoneyJsonConverter))]
public LightMoney Amount { get; set; }
}
}