summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/or/conflux_st.h8
-rw-r--r--src/feature/hs/hs_pow.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/or/conflux_st.h b/src/core/or/conflux_st.h
index dae4845cb6..2112b0b7a1 100644
--- a/src/core/or/conflux_st.h
+++ b/src/core/or/conflux_st.h
@@ -45,17 +45,17 @@ struct conflux_params_t {
struct conflux_leg_t {
/**
* For computing ooo_q insertion sequence numbers: Highest absolute
- * sequence number recieved on each leg, before delivery.
+ * sequence number received on each leg, before delivery.
*
- * As a reciever, this allows us to compute the absolute sequence number
+ * As a receiver, this allows us to compute the absolute sequence number
* of a cell for delivery or insertion into the ooo_q. When a SWITCH cell
- * is recieved on a leg, the absolute sequence number of that cell is
+ * is received on a leg, the absolute sequence number of that cell is
* the relative sequence number in that cell, plus the absolute sequence
* number of that leg from this array. The leg's sequence number
* is then updated to this value immediately.
*
* In this way, we are able to assign absolute sequence numbers to cells
- * immediately, regardless of how many legs or leg switches have ocurred,
+ * immediately, regardless of how many legs or leg switches have occurred,
* and regardless of the delivery status of each cell versus if it must be
* queued.
*/
diff --git a/src/feature/hs/hs_pow.h b/src/feature/hs/hs_pow.h
index 3418d7a0cb..b5949b7916 100644
--- a/src/feature/hs/hs_pow.h
+++ b/src/feature/hs/hs_pow.h
@@ -81,7 +81,7 @@ typedef struct hs_pow_solver_inputs_t {
uint8_t seed[HS_POW_SEED_LEN];
/** Blinded public ID for the onion service this puzzle is bound to */
ed25519_public_key_t service_blinded_id;
- /** Effort chosen by the client. May be higher or ower than
+ /** Effort chosen by the client. May be higher or lower than
* suggested_effort in the descriptor. */
uint32_t effort;
} hs_pow_solver_inputs_t;