mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-13 15:38:21 +00:00
Derive debug for some error enum
This commit is contained in:
parent
75031f5e69
commit
3968aaa0e0
@ -1,5 +1,6 @@
|
||||
use super::Hash256;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ParentHashesError {
|
||||
BadCurrentHashes,
|
||||
BadObliqueHashes,
|
||||
@ -179,7 +180,6 @@ mod tests {
|
||||
attestation_slot,
|
||||
¤t_hashes,
|
||||
&oblique_hashes);
|
||||
assert!(result.is_ok());
|
||||
let result = result.unwrap();
|
||||
assert_eq!(result.len(), cycle_length as usize);
|
||||
let expected_result = get_range_of_hashes(7, 15);
|
||||
|
Loading…
Reference in New Issue
Block a user