Skip to content

Commit

Permalink
Update cmd/lotus-gateway/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: dirkmc <dirkmdev@gmail.com>
  • Loading branch information
whyrusleeping and dirkmc authored Oct 14, 2020
1 parent 3d80c38 commit 12f36c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/lotus-gateway/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ func (a *GatewayAPI) WalletVerify(ctx context.Context, k address.Address, msg []
}

func (a *GatewayAPI) StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*api.ActorState, error) {
if err := a.checkTipsetKey(ctx, tsk); err != nil {
return nil, err
}
return a.api.StateReadState(ctx, actor, tsk)
}

Expand Down

0 comments on commit 12f36c5

Please sign in to comment.