func (lnd *Lnd) VerifyMessage(message []byte, signature string) (*VerifyMessageResponse, error) {

	ctxb := context.Background()
	req := &lnrpc.VerifyMessageRequest{Msg: message, Signature: signature}

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

	return resp, nil
}
// VerifyMessage verifies a 65 byte signature over a msg enconded as a zbase32 string.
//The signature must be signed by an active node in the resident node's channel database.
//In addition to returning the validity of the signature,
//VerifyMessage also returns the recovered pubkey from the signature.
VerifyMessage verifies a 65 byte signature over a msg enconded as a zbase32 string.
The signature must be signed by an active node in the resident node's channel database.
In addition to returning the validity of the signature,
VerifyMessage also returns the recovered pubkey from the signature.
// VerifyMessage verifies a 65 byte signature over a msg enconded as a zbase32 string . // The signature must be signed by an active node in the resident node ' s channel database . // In addition to returning the validity of the signature // VerifyMessage also returns the recovered pubkey from the signature .
func (lnd *Lnd) VerifyMessage(message []byte, signature string) (*VerifyMessageResponse, error) {
	ctxb := context.Background()
	req := &lnrpc.VerifyMessageRequest{Msg: message, Signature: signature}
	resp, err := lnd.client.VerifyMessage(ctxb, req)
	if err != nil {
		return nil, err
	}
	return resp, nil
}
func ( lnd * Lnd ) VerifyMessage ( message [ ] byte , signature string ) ( * VerifyMessageResponse , error ) { ctxb := context . Background ( ) req := & lnrpc . VerifyMessageRequest { Msg : message , Signature : signature } resp , err := lnd . client . VerifyMessage ( ctxb , req ) if err != nil { return nil , err } return resp , nil }
VerifyMessage verifies a 65 byte signature over a msg enconded as a zbase32 string.
VerifyMessage verifies a 65 byte signature over a msg enconded as a zbase32 string .