Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Nov 17, 2023
1 parent 7ba9fbc commit 1190868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/banking_stage/committer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub enum CommitTransactionDetails {
executed_units: u64,
// actual micro-second elapsed for executing the committed transaction
executed_us: u64,
// compute units to add to executed_units to compensate under priced CUs
// compute units to add to executed_units to compensate for under priced CUs
adjust_units: u64,
},
NotCommitted,
Expand Down Expand Up @@ -199,7 +199,7 @@ impl Committer {
executed_units: u64,
executed_us: u64,
) -> u64 {
// "actual executed units" is consistent cross cluster, but "adjustment" are only based
// "actual executed units" is consistent across cluster, but "adjustment" is only based
// on current leader node. Add a 50% taper to reduce local variance.
const TAPER: u64 = 2;
solana_runtime::block_cost_limits::COMPUTE_UNIT_TO_US_RATIO
Expand Down

0 comments on commit 1190868

Please sign in to comment.