func (lnd *Lnd) SignMessage(message []byte) (*SignMessageResponse, error) {

	ctxb := context.Background()
	req := &lnrpc.SignMessageRequest{Msg: message}

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

	return resp, nil
}
// SignMessage signs a message with this node's private key.
//The returned 65 byte signature string is zbase32 encoded and pubkey recoverable,
//meaning that only the message digest and signature are needed for verification.
SignMessage signs a message with this node's private key.
The returned 65 byte signature string is zbase32 encoded and pubkey recoverable,
meaning that only the message digest and signature are needed for verification.
// SignMessage signs a message with this node ' s private key . // The returned 65 byte signature string is zbase32 encoded and pubkey recoverable // meaning that only the message digest and signature are needed for verification .
func (lnd *Lnd) SignMessage(message []byte) (*SignMessageResponse, error) {
	ctxb := context.Background()
	req := &lnrpc.SignMessageRequest{Msg: message}
	resp, err := lnd.client.SignMessage(ctxb, req)
	if err != nil {
		return nil, err
	}
	return resp, nil
}
func ( lnd * Lnd ) SignMessage ( message [ ] byte ) ( * SignMessageResponse , error ) { ctxb := context . Background ( ) req := & lnrpc . SignMessageRequest { Msg : message } resp , err := lnd . client . SignMessage ( ctxb , req ) if err != nil { return nil , err } return resp , nil }
SignMessage signs a message with this node's private key.
SignMessage signs a message with this node ' s private key .