clean up usage of stmgr.TipSetState

This commit is contained in:
whyrusleeping
2019-10-02 14:03:27 -06:00
parent 65def6cc58
commit c0e6e611be
8 changed files with 20 additions and 37 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)
if err != nil {
return nil, err
}