Browse Source

use length of cid

pull/130/head
DenioD 4 years ago
parent
commit
a8c9a8e2ef
  1. 2
      src/chatmodel.cpp
  2. 2
      src/controller.cpp

2
src/chatmodel.cpp

@ -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];

2
src/controller.cpp

@ -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];

Loading…
Cancel
Save