mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
* Add configurable BOLT11Expiration for refunds (Fix #3281) * Add BOLT11Expiration configuration in Payment
This commit is contained in:
@@ -24,5 +24,9 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
[Display(Name = "Default currency")]
|
||||
[MaxLength(10)]
|
||||
public string DefaultCurrency { get; set; }
|
||||
|
||||
[Display(Name = "Minimum acceptable expiration time for BOLT11 for refunds")]
|
||||
[Range(1, 365 * 10)]
|
||||
public long BOLT11Expiration { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user