mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix: crypto::generate_chacha_key does not compile
This commit is contained in:
parent
3e1631643e
commit
8c8a42656c
1 changed files with 1 additions and 1 deletions
|
@ -1048,7 +1048,7 @@ decrypt(const std::string &ciphertext,
|
||||||
}
|
}
|
||||||
|
|
||||||
crypto::chacha_key key;
|
crypto::chacha_key key;
|
||||||
crypto::generate_chacha_key(&skey, sizeof(skey), key);
|
crypto::generate_chacha_key(&skey, sizeof(skey), key, 1);
|
||||||
|
|
||||||
const crypto::chacha_iv &iv = *(const crypto::chacha_iv*)&ciphertext[0];
|
const crypto::chacha_iv &iv = *(const crypto::chacha_iv*)&ciphertext[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue