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 f41750c commit 59b94f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/src/lib/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1668,11 +1668,11 @@ 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 \
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(
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 59b94f1

Please sign in to comment.