add start_epoch consistent with rest of crosslink

This commit is contained in:
Dustin Brody 2019-07-03 08:57:05 +02:00 committed by zah
parent 8a5e5334d6
commit 5198930503

View File

@ -597,6 +597,7 @@ proc makeAttestationData*(
crosslink: Crosslink(
shard: shard,
parent_root: hash_tree_root(state.current_crosslinks[shard]),
start_epoch: state.current_crosslinks[shard].end_epoch,
end_epoch: target_epoch,
)
)