Skip to content

Commit

Permalink
qfix
Browse files Browse the repository at this point in the history
  • Loading branch information
fominok committed Aug 29, 2024
1 parent 4313970 commit 84b0ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merk/src/estimated_costs/worst_case_costs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ pub fn add_worst_case_merk_propagate(
cost.storage_cost.replaced_bytes += nodes_updated * MERK_BIGGEST_VALUE_SIZE;
cost.storage_loaded_bytes +=
nodes_updated as u64 * (MERK_BIGGEST_VALUE_SIZE + MERK_BIGGEST_KEY_SIZE) as u64;
cost.seek_count += nodes_updated as u32;
cost.seek_count += nodes_updated;
cost.hash_node_calls += nodes_updated * 2;
Ok(())
}
Expand Down

0 comments on commit 84b0ec5

Please sign in to comment.