Skip to content

Commit 8b14b84

Browse files
committed
added disallow_reorg_within_first_proposal_burn_block_timing_secs_but_more_than_one_block integration test
1 parent 06a4279 commit 8b14b84

File tree

2 files changed

+416
-88
lines changed

2 files changed

+416
-88
lines changed

stacks-signer/src/chainstate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ impl SortitionsView {
402402
) -> Result<bool, SignerChainstateError> {
403403
// if the parent tenure is the last sortition, it is a valid choice.
404404
// if the parent tenure is a reorg, then all of the reorged sortitions
405-
// must either have produced zero blocks _or_ produced their first block
405+
// must either have produced zero blocks _or_ produced their first (and only) block
406406
// very close to the burn block transition.
407407
if sortition_state.prior_sortition == sortition_state.parent_tenure_id {
408408
return Ok(true);

0 commit comments

Comments
 (0)