switch to parent state roots

This commit is contained in:
whyrusleeping
2019-10-01 15:21:01 -06:00
parent 6a729263a4
commit 1419031f1e
16 changed files with 206 additions and 192 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ func (a *StateAPI) stateForTs(ts *types.TipSet) (*state.StateTree, error) {
ts = a.Chain.GetHeaviestTipSet()
}
st, err := a.StateManager.TipSetState(ts.Cids())
st, _, err := a.StateManager.TipSetState(ts.Cids())
if err != nil {
return nil, err
}