Fix docs and linter

This commit is contained in:
Aayush Rajasekaran 2020-09-26 02:59:24 -04:00
parent ef28ebb14a
commit 12e97dbea7
2 changed files with 1 additions and 5 deletions

View File

@ -53,10 +53,6 @@ func (sm *StateManager) handleStateForks(ctx context.Context, root cid.Cid, heig
return retCid, nil return retCid, nil
} }
type forEachTree interface {
ForEach(func(address.Address, *types.Actor) error) error
}
func doTransfer(cb ExecCallback, tree types.StateTree, from, to address.Address, amt abi.TokenAmount) error { func doTransfer(cb ExecCallback, tree types.StateTree, from, to address.Address, amt abi.TokenAmount) error {
fromAct, err := tree.GetActor(from) fromAct, err := tree.GetActor(from)
if err != nil { if err != nil {

View File

@ -3825,7 +3825,7 @@ Inputs:
] ]
``` ```
Response: `2` Response: `3`
### StateReadState ### StateReadState
StateReadState returns the indicated actor's state. StateReadState returns the indicated actor's state.