mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
fix spelling (#1167)
This commit is contained in:
committed by
Bastian Köcher
parent
f3eefc9df9
commit
772b52e479
@@ -332,7 +332,7 @@ fn verify_empty_step(parent_hash: &H256, step: &SealedEmptyStep, validators: &[A
|
||||
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(
|
||||
parent_step: u64,
|
||||
current_step: u64,
|
||||
|
||||
Reference in New Issue
Block a user