spec: get_crosslink_deltas to v0.6.1

This commit is contained in:
Michael Sproul 2019-05-06 14:18:05 +10:00
parent caff553af9
commit ed00ad9d00
No known key found for this signature in database
GPG Key ID: 77B1309D2E54E914
2 changed files with 3 additions and 3 deletions

View File

@ -230,7 +230,7 @@ fn get_attestation_delta(
/// Calculate the deltas based upon the winning roots for attestations during the previous epoch.
///
/// Spec v0.5.1
/// Spec v0.6.1
fn get_crosslink_deltas(
deltas: &mut Vec<Delta>,
state: &BeaconState,
@ -243,7 +243,7 @@ fn get_crosslink_deltas(
let base_reward = get_base_reward(
state,
index,
validator_statuses.total_balances.previous_epoch,
validator_statuses.total_balances.current_epoch,
spec,
)?;

View File

@ -283,7 +283,7 @@ impl ValidatorStatuses {
/// Update the `statuses` for each validator based upon whether or not they attested to the
/// "winning" shard block root for the previous epoch.
///
/// Spec v0.5.1
/// Spec v0.6.1
pub fn process_winning_roots(
&mut self,
state: &BeaconState,