From c944c435e2853a1687b5a5331ac0e9a326fdf967 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 12 Dec 2018 18:30:20 +1100 Subject: [PATCH] Update `CrosslinkRecord` to latest spec Addresses #100 --- beacon_chain/types/src/crosslink_record.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/types/src/crosslink_record.rs b/beacon_chain/types/src/crosslink_record.rs index 3f7ac2f1a..6a70daade 100644 --- a/beacon_chain/types/src/crosslink_record.rs +++ b/beacon_chain/types/src/crosslink_record.rs @@ -3,7 +3,7 @@ use super::Hash256; #[derive(Clone, Debug, PartialEq)] pub struct CrosslinkRecord { pub slot: u64, - pub shard_block_hash: Hash256, + pub shard_block_root: Hash256, } impl CrosslinkRecord { @@ -11,7 +11,7 @@ impl CrosslinkRecord { pub fn zero() -> Self { Self { slot: 0, - shard_block_hash: Hash256::zero(), + shard_block_root: Hash256::zero(), } } }