pr feedback

This commit is contained in:
Danny Ryan
2019-04-24 11:31:24 -06:00
parent b1e1510e21
commit 20d65e040b
4 changed files with 19 additions and 15 deletions

View File

@@ -142,7 +142,7 @@ def build_attestation_data(state, slot, shard):
if epoch_start_slot == slot:
epoch_boundary_root = block_root
else:
get_block_root(state, get_current_epoch(state))
epoch_boundary_root = get_block_root(state, get_current_epoch(state))
if slot < epoch_start_slot:
justified_block_root = state.previous_justified_root