func GetLocalChannels(client *lndwrapper.Lnd) []*lnrpc.Channel {

	openChannels, err := client.ListChannels()
	if err != nil {
		log.Fatal(err)
	}

	return openChannels.GetChannels()
}
//GetLocalChannels - Returns the channels assocatited with the local node
Returns the channels assocatited with the local node
// GetLocalChannels - Returns the channels assocatited with the local node
func GetLocalChannels(client *lndwrapper.Lnd) []*lnrpc.Channel {
	openChannels, err := client.ListChannels()
	if err != nil {
		log.Fatal(err)
	}
	return openChannels.GetChannels()
}
func GetLocalChannels ( client * lndwrapper . Lnd ) [ ] * lnrpc . Channel { openChannels , err := client . ListChannels ( ) if err != nil { log . Fatal ( err ) } return openChannels . GetChannels ( ) }
Returns the channels assocatited with the local node
Returns the channels assocatited with the local node