mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Merge tag 'v4.5.0' into tree-states
v4.5.0
This commit is contained in:
@@ -50,7 +50,7 @@ impl<E: EthSpec> StateCache<E> {
|
||||
pub fn new(capacity: NonZeroUsize) -> Self {
|
||||
StateCache {
|
||||
finalized_state: None,
|
||||
states: LruCache::new(capacity),
|
||||
states: LruCache::new(capacity.get()),
|
||||
block_map: BlockMap::default(),
|
||||
capacity,
|
||||
max_epoch: Epoch::new(0),
|
||||
|
||||
Reference in New Issue
Block a user