Fix issue with merging v0.5.0

This commit is contained in:
Age Manning 2019-03-20 14:36:09 +11:00
parent 4310f35b73
commit 7c7f81d188
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93

View File

@ -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,
}
}