fix build

This commit is contained in:
whyrusleeping
2019-07-11 21:09:04 -07:00
parent 60efe8542e
commit ea2039ecb6
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -18,7 +18,11 @@ var mpoolPending = &cli.Command{
Name: "pending",
Usage: "Get pending messages",
Action: func(cctx *cli.Context) error {
api := getApi(cctx)
api, err := getAPI(cctx)
if err != nil {
return err
}
ctx := reqContext(cctx)
msgs, err := api.MpoolPending(ctx, nil)