Skip to content

Commit

Permalink
code documentation cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Nov 11, 2022
1 parent bad8063 commit 7a47773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shared/src/ledger/inflation.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//! General inflation system that will be used to process rewards for proof-of-stake, providing liquity to shielded asset pools, and public goods funding.
//!
//! General inflation system that will be used to process rewards for
//! proof-of-stake, providing liquity to shielded asset pools, and public goods
//! funding.
Expand All @@ -14,8 +12,11 @@ use crate::types::token;

/// The domains of inflation
pub enum RewardsType {
/// Proof-of-stake rewards
Staking,
/// Rewards for locking tokens in the multi-asset shielded pool
Masp,
/// Rewards for public goods funding (PGF)
PubGoodsFunding,
}

Expand Down
1 change: 1 addition & 0 deletions shared/src/ledger/parameters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ where
decode(value.ok_or(ReadError::ParametersMissing)?)
.map_err(ReadError::StorageTypeError)?;

// read max expected block time
let max_expected_time_per_block_key =
storage::get_max_expected_time_per_block_key();
let (value, gas_time) = storage
Expand Down

0 comments on commit 7a47773

Please sign in to comment.