We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d6fad commit 7a3946dCopy full SHA for 7a3946d
stackslib/src/chainstate/nakamoto/miner.rs
@@ -538,8 +538,8 @@ impl NakamotoBlockBuilder {
538
{
539
// Make sure we aren't actually going to multiply by 0 or attempt to increase the block limit.
540
assert!(
541
- (1..100).contains(&percentage),
542
- "BUG: tenure_cost_limit_per_block_percentage must be between between 1 and 99."
+ (1..=100).contains(&percentage),
+ "BUG: tenure_cost_limit_per_block_percentage: {percentage}%. Must be between between 1 and 100"
543
);
544
let mut remaining_limit = block_limit.clone();
545
let cost_so_far = tenure_tx.cost_so_far();
0 commit comments