mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
Remove temporary heap allocations during shuffling (#867)
* Remove temp allocs in compute shuffled index * Update shuffle list
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
//! defining it once in this crate makes it easy to replace.
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use ring::digest::{digest, Context, SHA256};
|
||||
pub use ring::digest::{digest, Context, SHA256};
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
use sha2::{Digest, Sha256};
|
||||
|
||||
Reference in New Issue
Block a user