Return errors

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-01-29 17:35:32 -08:00
parent bcbfc931ba
commit 1e9f293994
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -28,11 +28,11 @@ func init() {
ctx := lcli.ReqContext(cctx)
head, err := api.ChainHead(ctx)
if err != nil {
return err
}
pending, err := api.MpoolPending(ctx, head)
if err != nil {
return err
}
msgs, err := miner.SelectMessages(ctx, api.StateGetActor, head, pending)