Update cmd/lotus-gateway/api.go

Co-authored-by: dirkmc <dirkmdev@gmail.com>
This commit is contained in:
Whyrusleeping
2020-10-14 09:22:25 -05:00
committed by GitHub
co-authored by dirkmc
parent 3d80c38064
commit 12f36c5bda
+3
View File
@@ -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)
}