fix spelling (#1167)

This commit is contained in:
Svyatoslav Nikolsky
2021-09-27 15:35:50 +03:00
committed by Bastian Köcher
parent f3eefc9df9
commit 772b52e479
+1 -1
View File
@@ -332,7 +332,7 @@ fn verify_empty_step(parent_hash: &H256, step: &SealedEmptyStep, validators: &[A
verify_signature(&expected_validator, &step.signature, &message) verify_signature(&expected_validator, &step.signature, &message)
} }
/// Chain scoring: total weight is sqrt(U256::max_value())*height - step /// Chain scoring: total `weight is sqrt(U256::max_value())*height - step`.
pub(crate) fn calculate_score( pub(crate) fn calculate_score(
parent_step: u64, parent_step: u64,
current_step: u64, current_step: u64,