tidy up comments

This commit is contained in:
Riordan Panayides 2024-10-11 17:09:29 +01:00
parent 92e1d84e4a
commit 38608a12af
1 changed files with 2 additions and 2 deletions

View File

@ -379,7 +379,7 @@ impl HttpServer {
)?;
let compute_budget_ixs = vec![
ComputeBudgetInstruction::set_compute_unit_price(compute_unit_price_microlamports), // ~0.01 lamport / CU
ComputeBudgetInstruction::set_compute_unit_price(compute_unit_price_microlamports),
ComputeBudgetInstruction::set_compute_unit_limit(ixs.cu_estimate),
];
@ -462,7 +462,7 @@ impl HttpServer {
let compute_budget_ixs = vec![
InstructionResponse::from_ix(ComputeBudgetInstruction::set_compute_unit_price(
compute_unit_price_microlamports,
))?, // ~0.01 lamport / CU
))?,
InstructionResponse::from_ix(ComputeBudgetInstruction::set_compute_unit_limit(
ixs.cu_estimate,
))?,