Add configurable BOLT11Expiration for refunds (Fix #3281) (#3341)

* Add configurable BOLT11Expiration for refunds (Fix #3281)

* Add BOLT11Expiration configuration in Payment
This commit is contained in:
Nicolas Dorier
2022-01-24 20:17:09 +09:00
committed by GitHub
parent 28dbf10a31
commit 090da6cfb6
24 changed files with 150 additions and 22 deletions

View File

@@ -285,7 +285,8 @@ namespace BTCPayServer.Controllers
{
Name = $"Refund {invoice.Id}",
PaymentMethodIds = new[] { paymentMethodId },
StoreId = invoice.StoreId
StoreId = invoice.StoreId,
BOLT11Expiration = store.GetStoreBlob().RefundBOLT11Expiration
};
switch (model.SelectedRefundOption)
{