use length of cid

This commit is contained in:
DenioD
2020-06-01 00:47:46 +02:00
parent e1863058da
commit a8c9a8e2ef
2 changed files with 2 additions and 2 deletions

View File

@@ -394,7 +394,7 @@ Tx MainWindow::createTxFromChatPage() {
/////////////////Alice Pubkey
#define MESSAGEAP ((const unsigned char *) cidchar)///////////static atm, in future we will use the CID here
#define MESSAGEAP_LEN 5
#define MESSAGEAP_LEN lengthcid
unsigned char alice_publickey[crypto_box_PUBLICKEYBYTES];

View File

@@ -956,7 +956,7 @@ void Controller::refreshTransactions() {
/////////////////Alice Pubkey bob create
#define MESSAGEAP ((const unsigned char *) cidchar)///////////static atm, in future we will use the CID here
#define MESSAGEAP_LEN 5
#define MESSAGEAP_LEN lengthcid
unsigned char alice_publickey[crypto_box_PUBLICKEYBYTES];