mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
API: Fix open channel validation condition (#2054)
This commit is contained in:
parent
0bb0a38649
commit
eef729b5f9
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ namespace BTCPayServer.Controllers.GreenField
|
|||
ModelState.AddModelError(nameof(request.FeeRate), "FeeRate must be more than 0");
|
||||
}
|
||||
|
||||
if (ModelState.IsValid)
|
||||
if (!ModelState.IsValid)
|
||||
{
|
||||
return this.CreateValidationError(ModelState);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue