Skip to content

Commit d828159

Browse files
committed
chore: allow negative in tenure_extend_in log
1 parent e2bc798 commit d828159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testnet/stacks-node/src/nakamoto_node/stackerdb_listener.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ impl StackerDBListenerComms {
532532
if weight_sum >= weight_threshold {
533533
debug!("SignerCoordinator: 70% threshold reached for tenure extension timestamp";
534534
"tenure_extend_timestamp" => info.timestamp,
535-
"tenure_extend_in" => (info.timestamp - get_epoch_time_secs())
535+
"tenure_extend_in" => (info.timestamp as i64 - get_epoch_time_secs() as i64)
536536
);
537537
return info.timestamp;
538538
}

0 commit comments

Comments
 (0)