Skip to content

Commit

Permalink
Remove handled_at from UnsavedReorgedBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurshsmith committed Dec 29, 2023
1 parent f6a12ef commit 2cb86be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chaindexing/src/chain_reorg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pub struct ReorgedBlock {
pub struct UnsavedReorgedBlock {
pub block_number: i64,
pub chain_id: i32,
handled_at: Option<chrono::NaiveDateTime>,
inserted_at: chrono::NaiveDateTime,
}

Expand All @@ -54,7 +53,6 @@ impl UnsavedReorgedBlock {
Self {
block_number,
chain_id: *chain as i32,
handled_at: None,
inserted_at: chrono::Utc::now().naive_utc(),
}
}
Expand Down

0 comments on commit 2cb86be

Please sign in to comment.