Correct typing for list channels request

This commit is contained in:
Daniel Lugo 2022-01-17 13:17:12 -04:00
parent 0e241a8b7a
commit df789c3a31

View file

@ -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
}
/**