func (lnd *Lnd) ListChannels() (*ListChannelsResponse, error) {
	ctxb := context.Background()
	req := &lnrpc.ListChannelsRequest{}

	channels, err := lnd.client.ListChannels(ctxb, req)
	if err != nil {
		return nil, err
	}

	return channels, nil
}
//ListChannels returns a list of active channels
ListChannels returns a list of active channels
// ListChannels returns a list of active channels
func (lnd *Lnd) ListChannels() (*ListChannelsResponse, error) {
	ctxb := context.Background()
	req := &lnrpc.ListChannelsRequest{}
	channels, err := lnd.client.ListChannels(ctxb, req)
	if err != nil {
		return nil, err
	}
	return channels, nil
}
func ( lnd * Lnd ) ListChannels ( ) ( * ListChannelsResponse , error ) { ctxb := context . Background ( ) req := & lnrpc . ListChannelsRequest { } channels , err := lnd . client . ListChannels ( ctxb , req ) if err != nil { return nil , err } return channels , nil }
ListChannels returns a list of active channels
ListChannels returns a list of active channels