We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef7a108 commit 0b5d535Copy full SHA for 0b5d535
1 file changed
crates/storage/store_db/rocksdb.rs
@@ -681,7 +681,7 @@ impl Store {
681
trie_mut.put_batch(parent_state_root, child_state_root, new_layer);
682
*trie_cache.lock().map_err(|_| StoreError::LockError)? = Arc::new(trie_mut);
683
// Update finished, signal block production.
684
- notify.send(Ok(())).map_err(|_| StoreError::LockError)?;
+ // notify.send(Ok(())).map_err(|_| StoreError::LockError)?;
685
686
// Phase 2: update disk layer.
687
let trie = trie_cache
@@ -728,6 +728,8 @@ impl Store {
728
result?;
729
// Phase 3: update diff layers with the removal of bottom layer.
730
731
+
732
+ notify.send(Ok(())).map_err(|_| StoreError::LockError)?;
733
Ok(())
734
}
735
0 commit comments