mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-08 20:11:22 +00:00
parent
89bea5b5e8
commit
c944c435e2
@ -3,7 +3,7 @@ use super::Hash256;
|
|||||||
#[derive(Clone, Debug, PartialEq)]
|
#[derive(Clone, Debug, PartialEq)]
|
||||||
pub struct CrosslinkRecord {
|
pub struct CrosslinkRecord {
|
||||||
pub slot: u64,
|
pub slot: u64,
|
||||||
pub shard_block_hash: Hash256,
|
pub shard_block_root: Hash256,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CrosslinkRecord {
|
impl CrosslinkRecord {
|
||||||
@ -11,7 +11,7 @@ impl CrosslinkRecord {
|
|||||||
pub fn zero() -> Self {
|
pub fn zero() -> Self {
|
||||||
Self {
|
Self {
|
||||||
slot: 0,
|
slot: 0,
|
||||||
shard_block_hash: Hash256::zero(),
|
shard_block_root: Hash256::zero(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user