Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolou86 committed Oct 16, 2023
1 parent fa571f4 commit 17f3dc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions massa-api-exports/src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ impl std::fmt::Display for OperationInfo {
self.is_operation_final,
"operation is final",
"operation is not final",
"finality unkown"
"finality unknown"
),
display_option_bool(self.op_exec_status, "succes", "failed", "status unkown")
display_option_bool(self.op_exec_status, "succes", "failed", "status unknown")
)?;
writeln!(f, "In blocks:")?;
for block_id in &self.in_blocks {
Expand Down
2 changes: 1 addition & 1 deletion massa-bootstrap/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use thiserror::Error;

#[non_exhaustive]
#[derive(Display, Error, Debug)]
/// Encapsulates the verious failure contexts for the bootstrap process, both client and server side
/// Encapsulates the various failure contexts for the bootstrap process, both client and server side
pub enum BootstrapError {
/// Bootstrap IO error: {0}
IoError(std::io::Error),
Expand Down
4 changes: 2 additions & 2 deletions massa-factory-worker/factory.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Since double-staking is penalized and could happen on node reboot, a safety meas
We ignore block creation slots for which `S.period == 0` (genesis blocks).

At every block creation slot, the block creation thread will read selector draws at that slot to check whether one of the staking keys was selected to produce the block.
If the addres linked to a stored staking key was selected, launch the block production process below.
If the address linked to a stored staking key was selected, launch the block production process below.

### Block production

Expand Down Expand Up @@ -92,7 +92,7 @@ This is indeed a half-period lag in order to incentivize timely block and endors
Since double-staking is penalized and could happen on node reboot, a safety measure is to wait 1 period (`2*t0`) after the program starts before beginning endorsement production.

At every block creation slot, the block creation thread will read selector draws at that slot to check whether one of the staking keys was selected to produce the block.
If the addres linked to a stored staking key was selected, launch the block production process below.
If the address linked to a stored staking key was selected, launch the block production process below.


### Endorsement production
Expand Down

0 comments on commit 17f3dc2

Please sign in to comment.