func GetLocalNodeNeighboursPubKeys(client *lndwrapper.Lnd) [][33]byte {

	neighboursPubKey := []string{}
	neighboursArrayPubKey := [][33]byte{}

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

	for _, channel := range openChannels.GetChannels() {
		neighboursPubKey = append(neighboursPubKey, channel.RemotePubkey)
		neighboursArrayPubKey = append(neighboursArrayPubKey, PubKeyStringToArray(channel.RemotePubkey))
	}

	fmt.Println("Local neighbours: " + strings.Join(neighboursPubKey, ", "))

	return neighboursArrayPubKey
}
//GetLocalNodeNeighboursPubKeys - Returns the pubkeys associated  of the the current node active neighbours
Returns the pubkeys associated  of the the current node active neighbours
// GetLocalNodeNeighboursPubKeys - Returns the pubkeys associated of the the current node active neighbours
func GetLocalNodeNeighboursPubKeys(client *lndwrapper.Lnd) [][33]byte {
	neighboursPubKey := []string{}
	neighboursArrayPubKey := [][33]byte{}
	openChannels, err := client.ListChannels()
	if err != nil {
		log.Fatal(err)
	}
	for _, channel := range openChannels.GetChannels() {
		neighboursPubKey = append(neighboursPubKey, channel.RemotePubkey)
		neighboursArrayPubKey = append(neighboursArrayPubKey, PubKeyStringToArray(channel.RemotePubkey))
	}
	fmt.Println("Local neighbours: " + strings.Join(neighboursPubKey, ", "))
	return neighboursArrayPubKey
}
func GetLocalNodeNeighboursPubKeys ( client * lndwrapper . Lnd ) [ ] [ 33 ] byte { neighboursPubKey := [ ] string { } neighboursArrayPubKey := [ ] [ 33 ] byte { } openChannels , err := client . ListChannels ( ) if err != nil { log . Fatal ( err ) } for _ , channel := range openChannels . GetChannels ( ) { neighboursPubKey = append ( neighboursPubKey , channel . RemotePubkey ) neighboursArrayPubKey = append ( neighboursArrayPubKey , PubKeyStringToArray ( channel . RemotePubkey ) ) } fmt . Println ( " " + strings . Join ( neighboursPubKey , " " ) ) return neighboursArrayPubKey }
Returns the pubkeys associated  of the the current node active neighbours
Returns the pubkeys associated of the the current node active neighbours