Skip to content

Commit fb7a36b

Browse files
committed
fix: clippy
1 parent cec9163 commit fb7a36b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/src/indexer/start.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,6 @@ pub async fn start_indexing_contract_events(
408408
// None => {}
409409
// };
410410

411-
let timestamp_enabled_for_event = None;
412-
413411
let event_processing_config: EventProcessingConfig = match event.is_factory_filter_event() {
414412
true => {
415413
let factory_details = network_contract
@@ -433,8 +431,9 @@ pub async fn start_indexing_contract_events(
433431
database: database.clone(),
434432
config: manifest.config.clone(),
435433
csv_details: manifest_csv_details.clone(),
436-
timestamps: timestamp_enabled_for_event
437-
.unwrap_or(manifest.timestamps.unwrap_or(false)),
434+
// timestamps: timestamp_enabled_for_event
435+
// .unwrap_or(manifest.timestamps.unwrap_or(false)),
436+
timestamps: manifest.timestamps.unwrap_or(false),
438437
stream_last_synced_block_file_path: stream_details
439438
.as_ref()
440439
.map(|s| s.get_streams_last_synced_block_path()),
@@ -464,8 +463,9 @@ pub async fn start_indexing_contract_events(
464463
database: database.clone(),
465464
csv_details: manifest_csv_details.clone(),
466465
config: manifest.config.clone(),
467-
timestamps: timestamp_enabled_for_event
468-
.unwrap_or(manifest.timestamps.unwrap_or(false)),
466+
// timestamps: timestamp_enabled_for_event
467+
// .unwrap_or(manifest.timestamps.unwrap_or(false)),
468+
timestamps: manifest.timestamps.unwrap_or(false),
469469
stream_last_synced_block_file_path: stream_details
470470
.as_ref()
471471
.map(|s| s.get_streams_last_synced_block_path()),

0 commit comments

Comments
 (0)