Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Oct 28, 2022
1 parent f3fd821 commit 66314cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions apps/src/lib/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1669,12 +1669,14 @@ pub mod args {
))
.arg(COMMISSION_RATE.def().about(
"The commission rate charged by the validator for \
delegation rewards. This is a required parameter.",
delegation rewards. Expressed as a decimal between 0 and \
1. This is a required parameter.",
))
.arg(MAX_COMMISSION_RATE_CHANGE.def().about(
"The maximum change per epoch in the commission rate \
charged by the validator for delegation rewards. This is \
a required parameter.",
charged by the validator for delegation rewards. \
Expressed as a decimal between 0 and 1. This is a \
required parameter.",
))
.arg(VALIDATOR_CODE_PATH.def().about(
"The path to the validity predicate WASM code to be used \
Expand Down
2 changes: 1 addition & 1 deletion proof_of_stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ pub trait PosBase {
key: &Self::Address,
value: &CommissionRates,
);
/// Write PoS validator's commission rate.
/// Write PoS validator's maximum change in the commission rate.
fn write_validator_max_commission_rate_change(
&mut self,
key: &Self::Address,
Expand Down

0 comments on commit 66314cc

Please sign in to comment.