mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 02:08:32 +01:00
Support 16mb psbts. Potentially fixes #5768
This commit is contained in:
parent
bd4cf61c2b
commit
214d4b0c3f
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Identity;
|
using Microsoft.AspNetCore.Identity;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Routing;
|
using Microsoft.AspNetCore.Routing;
|
||||||
|
using Microsoft.AspNetCore.WebUtilities;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using NBitcoin;
|
using NBitcoin;
|
||||||
using NBXplorer;
|
using NBXplorer;
|
||||||
|
@ -47,6 +48,8 @@ namespace BTCPayServer.Controllers
|
||||||
[Route("wallets")]
|
[Route("wallets")]
|
||||||
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Cookie)]
|
||||||
[AutoValidateAntiforgeryToken]
|
[AutoValidateAntiforgeryToken]
|
||||||
|
//16mb psbts
|
||||||
|
[RequestFormLimits(ValueLengthLimit = FormReader.DefaultValueLengthLimit * 4)]
|
||||||
public partial class UIWalletsController : Controller
|
public partial class UIWalletsController : Controller
|
||||||
{
|
{
|
||||||
private StoreRepository Repository { get; }
|
private StoreRepository Repository { get; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue