Skip to content

Commit

Permalink
Minor documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fiaxh authored and hrxi committed Nov 17, 2024
1 parent 73f9ae2 commit f5acbf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions blockchain-interface/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ pub enum ForkEvent {
pub enum BlockchainEvent {
Extended(Blake2bHash),
HistoryAdopted(Blake2bHash),
/// The first and second vector are the adopted and reverted chain, respectively.
/// Both vectors are ordered by block height, ascending.
Rebranched(Vec<(Blake2bHash, Block)>, Vec<(Blake2bHash, Block)>),
/// Given Block was stored in the chain store but was not adopted as new head block.
/// I.e. forked blocks and inferior chain blocks.
Expand Down
2 changes: 1 addition & 1 deletion primitives/account/src/account/vesting_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct VestingContract {
pub balance: Coin,
/// The owner of the contract, the only address that can interact with it.
pub owner: Address,
/// The block height at which the release schedule starts.
/// The time at which the release schedule starts.
#[serde(with = "nimiq_serde::fixint::be")]
pub start_time: u64,
/// The frequency at which funds are released.
Expand Down

0 comments on commit f5acbf3

Please sign in to comment.