Prepare for releasing 8.1.0

This commit is contained in:
Igor Katson 2025-06-05 11:38:50 +01:00
parent 3fa55bdc14
commit 28332fd4b9
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
21 changed files with 1387 additions and 978 deletions

View file

@ -102,7 +102,7 @@ pub fn generate_peer_id(fingerprint: &[u8]) -> Id20 {
let mut peer_id = [0u8; 20];
peer_id[..8].copy_from_slice(fingerprint);
rand::thread_rng().fill_bytes(&mut peer_id[8..]);
rand::rng().fill_bytes(&mut peer_id[8..]);
Id20::new(peer_id)
}