temporary fix of panic in blockchain garbage collection
This commit is contained in:
parent
5aa54e0c1a
commit
524a495ffd
@ -830,7 +830,8 @@ impl BlockChain {
|
|||||||
CacheID::Extras(ExtrasIndex::BlockLogBlooms, h) => { block_logs.remove(&h); },
|
CacheID::Extras(ExtrasIndex::BlockLogBlooms, h) => { block_logs.remove(&h); },
|
||||||
CacheID::Extras(ExtrasIndex::BlocksBlooms, h) => { blocks_blooms.remove(&h); },
|
CacheID::Extras(ExtrasIndex::BlocksBlooms, h) => { blocks_blooms.remove(&h); },
|
||||||
CacheID::Extras(ExtrasIndex::BlockReceipts, h) => { block_receipts.remove(&h); },
|
CacheID::Extras(ExtrasIndex::BlockReceipts, h) => { block_receipts.remove(&h); },
|
||||||
_ => panic!(),
|
// TODO: debris, temporary fix
|
||||||
|
CacheID::Extras(ExtrasIndex::BlockHash, _) => { },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cache_man.cache_usage.push_front(HashSet::new());
|
cache_man.cache_usage.push_front(HashSet::new());
|
||||||
|
Loading…
Reference in New Issue
Block a user