From 910ae0cec43c15e2dca0fa144a15633fc37783d3 Mon Sep 17 00:00:00 2001 From: boufni95 <33513308+boufni95@users.noreply.github.com> Date: Thu, 26 Jun 2025 22:24:45 +0200 Subject: [PATCH] Update index.ts --- src/services/serverMethods/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/services/serverMethods/index.ts b/src/services/serverMethods/index.ts index 3c18bbb1..5e204369 100644 --- a/src/services/serverMethods/index.ts +++ b/src/services/serverMethods/index.ts @@ -88,8 +88,7 @@ export default (mainHandler: Main): Types.ServerMethods => { }, CloseChannel: async ({ ctx, req }) => { const err = Types.CloseChannelRequestValidate(req, { - funding_txid_CustomCheck: chanId => chanId !== '', - sat_per_v_byte_CustomCheck: spv => spv > 0 + funding_txid_CustomCheck: chanId => chanId !== '' }) if (err != null) throw new Error(err.message) return mainHandler.adminManager.CloseChannel(req) @@ -414,4 +413,4 @@ export default (mainHandler: Main): Types.ServerMethods => { return mainHandler.appUserManager.GetHttpCreds(ctx) }, } -} \ No newline at end of file +}