Skip to content

Commit

Permalink
fix(walltime): flip block_timestamp/wall_time_ms (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
transmissions11 authored Oct 28, 2024
1 parent aa1bf0a commit e4c6f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/walltime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ impl OdysseyWallTime {
tokio::task::spawn(async move {
while let Some(notification) = st.next().await {
let tip = BlockTimeData {
wall_time_ms: notification.tip().timestamp,
block_timestamp: unix_epoch_ms(),
wall_time_ms: unix_epoch_ms(),
block_timestamp: notification.tip().timestamp,
};
*listener.inner.block_time_data.write().await = Some(tip);
}
Expand Down

0 comments on commit e4c6f53

Please sign in to comment.