func VerifyMessage(client *lndwrapper.Lnd, message []byte, signature []byte) (bool, [33]byte) {

	//Get the corresponding zbase32 signature
	zbase32Signature := zbase32.EncodeToString(signature)

	resp, err := client.VerifyMessage(message, zbase32Signature)
	if err != nil {
		log.Fatal(err)
	}

	return resp.Valid, PubKeyStringToArray(resp.Pubkey)
}
//VerifyMessage verifies a message using the keys DB in the lightning node
VerifyMessage verifies a message using the keys DB in the lightning node
// VerifyMessage verifies a message using the keys DB in the lightning node
func VerifyMessage(client *lndwrapper.Lnd, message []byte, signature []byte) (bool, [33]byte) {
	zbase32Signature := zbase32.EncodeToString(signature)
	resp, err := client.VerifyMessage(message, zbase32Signature)
	if err != nil {
		log.Fatal(err)
	}
	return resp.Valid, PubKeyStringToArray(resp.Pubkey)
}
func VerifyMessage ( client * lndwrapper . Lnd , message [ ] byte , signature [ ] byte ) ( bool , [ 33 ] byte ) { zbase32Signature := zbase32 . EncodeToString ( signature ) resp , err := client . VerifyMessage ( message , zbase32Signature ) if err != nil { log . Fatal ( err ) } return resp . Valid , PubKeyStringToArray ( resp . Pubkey ) }
VerifyMessage verifies a message using the keys DB in the lightning node
VerifyMessage verifies a message using the keys DB in the lightning node
//Get the corresponding zbase32 signature