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

	nodeInfo, err := client.GetInfo()
	if err != nil {
		log.Fatalln(err)
	}

	return PubKeyStringToArray(nodeInfo.IdentityPubkey)
}
//GetLocalNodePubKey returns the lightning network id of the local node string
GetLocalNodePubKey returns the lightning network id of the local node string
// GetLocalNodePubKey returns the lightning network id of the local node string
func GetLocalNodePubKey(client *lndwrapper.Lnd) [33]byte {
	nodeInfo, err := client.GetInfo()
	if err != nil {
		log.Fatalln(err)
	}
	return PubKeyStringToArray(nodeInfo.IdentityPubkey)
}
func GetLocalNodePubKey ( client * lndwrapper . Lnd ) [ 33 ] byte { nodeInfo , err := client . GetInfo ( ) if err != nil { log . Fatalln ( err ) } return PubKeyStringToArray ( nodeInfo . IdentityPubkey ) }
GetLocalNodePubKey returns the lightning network id of the local node string
GetLocalNodePubKey returns the lightning network id of the local node string