From df789c3a3183b511bbffbef9582498a865a76f4b Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Mon, 17 Jan 2022 13:17:12 -0400 Subject: [PATCH] Correct typing for list channels request --- utils/lightningServices/types.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/lightningServices/types.ts b/utils/lightningServices/types.ts index ca0d034f..fcd84661 100644 --- a/utils/lightningServices/types.ts +++ b/utils/lightningServices/types.ts @@ -134,15 +134,15 @@ export interface Services { } export interface ListChannelsReq { - active_only: boolean - inactive_only: boolean - public_only: boolean - private_only: boolean + active_only?: boolean + inactive_only?: boolean + public_only?: boolean + private_only?: boolean /** * Filters the response for channels with a target peer's pubkey. If peer is * empty, all channels will be returned. */ - peer: Common.Bytes + peer?: Common.Bytes } /**