Skip to content

Commit bd09555

Browse files
committed
fix: allow a tenure extend during the expected second
Allow a tenure extend to happen when the current timestamp is equal to the calculated extend time, not only when it is greater.
1 parent e3f9dfe commit bd09555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
false,
403403
);
404404
let epoch_time = get_epoch_time_secs();
405-
let enough_time_passed = epoch_time > extend_timestamp;
405+
let enough_time_passed = epoch_time >= extend_timestamp;
406406
if !changed_burn_view && !enough_time_passed {
407407
warn!(
408408
"Miner block proposal contains a tenure extend, but the burnchain view has not changed and enough time has not passed to refresh the block limit. Considering proposal invalid.";

0 commit comments

Comments
 (0)