Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Oct 15, 2024
1 parent f055a64 commit a51fd17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/walltime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ impl OdysseyWallTime {
}
}

/// Implementation of the Odyssey `wallet_` namespace.
/// Implementation of the Odyssey `odyssey_getWallTimeData` endpoint.
#[derive(Debug, Default)]
struct OdysseyWallTimeInner {
/// Tracks the recent blocktime data
block_time_data: RwLock<Option<BlockTimeData>>,
}

/// Data about the current time and the last block for `WallTimeExEx`.
/// Data about the current time and the last block's.
#[derive(Debug, Copy, Clone, PartialEq, Eq, Default, Serialize, Deserialize)]
pub struct WallTimeData {
/// Wall time right now
Expand Down Expand Up @@ -88,8 +88,8 @@ impl OdysseyWallTimeRpcApiServer for OdysseyWallTime {
}
}

/// Time data about the last block.
#[derive(Debug, Copy, Clone, PartialEq, Eq, Default, Serialize, Deserialize)]
/// Data about the last block for `WallTimeExEx`.
pub struct BlockTimeData {
/// Wall time of last block
wall_time_ms: u64,
Expand Down

0 comments on commit a51fd17

Please sign in to comment.