From 308c34a30c594d107880c4a44dea4b6701b51303 Mon Sep 17 00:00:00 2001 From: acerone85 Date: Wed, 2 Oct 2024 16:49:24 +0100 Subject: [PATCH] Typo --- crates/fuel-core/src/state/historical_rocksdb.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/fuel-core/src/state/historical_rocksdb.rs b/crates/fuel-core/src/state/historical_rocksdb.rs index a5f13ccf1c1..63be72ae8f2 100644 --- a/crates/fuel-core/src/state/historical_rocksdb.rs +++ b/crates/fuel-core/src/state/historical_rocksdb.rs @@ -498,7 +498,7 @@ where fn multiversion_take( storage_transaction: &mut StorageTransaction, height: u64, - modifications_history_modifications_history_migration_in_progress: bool, + modifications_history_migration_in_progress: bool, ) -> StorageResult> where Description: DatabaseDescription, @@ -511,7 +511,7 @@ where .storage_as_mut::>() .take(&height)?; - if modifications_history_modifications_history_migration_in_progress { + if modifications_history_migration_in_progress { let v1_last_changes = storage_transaction .storage_as_mut::>() .take(&height)?; @@ -525,7 +525,7 @@ fn multiversion_replace( storage_transaction: &mut StorageTransaction, height: u64, changes: &Changes, - modifications_history_modifications_history_migration_in_progress: bool, + modifications_history_migration_in_progress: bool, ) -> StorageResult> where Description: DatabaseDescription, @@ -535,7 +535,7 @@ where .storage_as_mut::>() .replace(&height, changes)?; - if modifications_history_modifications_history_migration_in_progress { + if modifications_history_migration_in_progress { let v1_last_changes = storage_transaction .storage_as_mut::>() .take(&height)?; @@ -549,7 +549,7 @@ fn cleanup_old_changes( height: &u64, storage_transaction: &mut StorageTransaction, state_rewind_policy: &StateRewindPolicy, - modifications_history_modifications_history_migration_in_progress: bool, + modifications_history_migration_in_progress: bool, ) -> StorageResult<()> where Description: DatabaseDescription, @@ -568,7 +568,7 @@ where let old_changes = multiversion_take( storage_transaction, old_height, - modifications_history_modifications_history_migration_in_progress, + modifications_history_migration_in_progress, )?; if let Some(old_changes) = old_changes {