Skip to content

Commit

Permalink
fix comment about fees fudge factor
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Dec 6, 2023
1 parent 8f276d0 commit e60b207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/lib/preflight/src/fees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ fn calculate_host_function_soroban_resources(
.map(|c| c.encoded_new_value.as_ref().map_or(0, Vec::len) as u32)
.sum();

// Add a 20% leeway with a minimum of 800k instructions
// Add a 20% leeway with a minimum of 1 million instructions
let budget_instructions = budget
.get_cpu_insns_consumed()
.context("cannot get instructions consumed")?;
Expand Down

0 comments on commit e60b207

Please sign in to comment.