Skip to content

Commit

Permalink
Clarify cost note is actual size
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Apr 2, 2023
1 parent dba9ef5 commit 837421c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebrad/src/components/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ impl Mempool {
// MEMPOOL_TRANSACTION_COST_THRESHOLD minimum cost.
transaction_cost_bar
.set_pos(transaction_cost)
.desc(transaction_size.to_string());
.desc(format!("Actual size {transaction_size}"));

rejected_count_bar.set_pos(u64::try_from(rejected_count).expect("fits in u64"));
}
Expand Down

0 comments on commit 837421c

Please sign in to comment.