Ran cargo fmt.

This commit is contained in:
Luke Anderson
2019-03-28 21:01:47 +11:00
parent 867af4bc6a
commit 87acaac8a0
9 changed files with 38 additions and 51 deletions

View File

@@ -44,7 +44,7 @@ impl EpochDuty {
slot,
shard: self.attestation_shard,
committee_index: self.committee_index as usize,
validator_index: self.validator_index as usize
validator_index: self.validator_index as usize,
});
}

View File

@@ -102,7 +102,7 @@ impl<U: BeaconNode> DutiesManager<U> {
Ok(Some(work_type)) => current_work.push((validator_signer.clone(), work_type)),
Ok(None) => {} // No work for this validator
//TODO: This should really log an error, as we shouldn't end up with an err here.
Err(_) => {} // Unknown epoch or validator, no work
Err(_) => {} // Unknown epoch or validator, no work
}
}
if current_work.is_empty() {