Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Sep 23, 2024
1 parent de255e4 commit 30e862a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/service/src/lazy_loading/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ impl<Block: BlockT + DeserializeOwned> backend::Backend<Block> for Backend<Block
let hash = header.hash();

let new_removed_keys = old_state.removed_keys.clone();
for (key, value) in operation.storage_updates {
for (key, value) in operation.storage_updates.clone() {
if value.is_some() {
new_removed_keys.write().remove(&key.clone());
} else {
Expand All @@ -1270,7 +1270,7 @@ impl<Block: BlockT + DeserializeOwned> backend::Backend<Block> for Backend<Block

let new_db = old_state.db.clone();
new_db.write().insert(
vec![(None::<ChildInfo>, operation.storage_updates.clone())],
vec![(None::<ChildInfo>, operation.storage_updates)],
StateVersion::V0,
);
let new_state = ForkedLazyBackend {
Expand Down

0 comments on commit 30e862a

Please sign in to comment.