Return Unused Error in State_transition (#1007)

* add todo for 712

* return unused err
This commit is contained in:
terence tsao 2018-11-29 20:34:21 -08:00 committed by Raul Jordan
parent 37e3cac8f3
commit a4e565e3a7

View File

@ -120,6 +120,10 @@ func crossLinkCalculations(
st.LastStateRecalculationSlot(),
attestation.GetSlot(),
)
if err != nil {
return nil, err
}
indices, err := v.AttesterIndices(shardCommittees, attestation)
if err != nil {
return nil, err