From 714c69c6cc9eca36c31acc0cba5e81579e3b94f3 Mon Sep 17 00:00:00 2001 From: Martin Stefcek Date: Tue, 16 Apr 2024 23:28:01 +0400 Subject: [PATCH] update comment --- base_layer/core/src/consensus/consensus_constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_layer/core/src/consensus/consensus_constants.rs b/base_layer/core/src/consensus/consensus_constants.rs index 097d16397d..09c3ffb61a 100644 --- a/base_layer/core/src/consensus/consensus_constants.rs +++ b/base_layer/core/src/consensus/consensus_constants.rs @@ -345,7 +345,7 @@ impl ConsensusConstants { } pub fn validator_node_registration_min_lock_height(&self, height: u64) -> u64 { - // This calculates the height of the block in which the VN is not valid anymore. + // This calculates the minimum height of the block for which the VN registration maturity must be valid for. self.epoch_to_block_height(VnEpoch( self.block_height_to_epoch(height).as_u64() + 1 + self.vn_validity_period_epochs.as_u64(), ))