From 7c7f81d188ce29aac083f8ba1c9bd0762bfa1631 Mon Sep 17 00:00:00 2001 From: Age Manning Date: Wed, 20 Mar 2019 14:36:09 +1100 Subject: [PATCH] Fix issue with merging v0.5.0 --- beacon_node/network/src/sync/simple_sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/network/src/sync/simple_sync.rs b/beacon_node/network/src/sync/simple_sync.rs index 95c7092c3..ea09f9c0c 100644 --- a/beacon_node/network/src/sync/simple_sync.rs +++ b/beacon_node/network/src/sync/simple_sync.rs @@ -68,7 +68,7 @@ impl SimpleSync { network_id: self.network_id, latest_finalized_root: state.finalized_root, latest_finalized_epoch: state.finalized_epoch, - best_root: state.latest_block_roots[0], //TODO: build correct value as a beacon chain function + best_root: Hash256::zero(), //TODO: build correct value as a beacon chain function best_slot: state.slot - 1, } }