File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ use stacks::chainstate::stacks::events::StackerDBChunksEvent;
32
32
use stacks:: chainstate:: stacks:: Error as ChainstateError ;
33
33
use stacks:: types:: chainstate:: StacksPublicKey ;
34
34
use stacks:: types:: PublicKey ;
35
+ use stacks:: util:: get_epoch_time_secs;
35
36
use stacks:: util:: hash:: { MerkleHashFunc , Sha512Trunc256Sum } ;
36
37
use stacks:: util:: secp256k1:: MessageSignature ;
37
38
@@ -530,7 +531,8 @@ impl StackerDBListenerComms {
530
531
weight_sum += info. weight ;
531
532
if weight_sum >= weight_threshold {
532
533
debug ! ( "SignerCoordinator: 70% threshold reached for tenure extension timestamp" ;
533
- "timestamp" => info. timestamp,
534
+ "tenure_extend_timestamp" => info. timestamp,
535
+ "tenure_extend_in" => ( info. timestamp - get_epoch_time_secs( ) )
534
536
) ;
535
537
return info. timestamp ;
536
538
}
You can’t perform that action at this time.
0 commit comments