make linter happy

This commit is contained in:
Anton Evangelatov 2021-07-28 17:47:01 +03:00 committed by Jennifer Wang
parent cea26348c4
commit 0c036b1157

View File

@ -104,7 +104,7 @@ func infoCmdAct(cctx *cli.Context) error {
fmt.Println()
if subsystems.Has(api.SectorStorageSubsystem) {
err := handleMiningInfo(cctx, ctx, fullapi, nodeApi)
err := handleMiningInfo(ctx, cctx, fullapi, nodeApi)
if err != nil {
return err
}
@ -120,7 +120,7 @@ func infoCmdAct(cctx *cli.Context) error {
return nil
}
func handleMiningInfo(cctx *cli.Context, ctx context.Context, fullapi v0api.FullNode, nodeApi api.StorageMiner) error {
func handleMiningInfo(ctx context.Context, cctx *cli.Context, fullapi v0api.FullNode, nodeApi api.StorageMiner) error {
maddr, err := getActorAddress(ctx, cctx)
if err != nil {
return err