make linter happy
This commit is contained in:
parent
d92c6a2097
commit
60b612247d
@ -104,7 +104,7 @@ func infoCmdAct(cctx *cli.Context) error {
|
|||||||
fmt.Println()
|
fmt.Println()
|
||||||
|
|
||||||
if subsystems.Has(api.SectorStorageSubsystem) {
|
if subsystems.Has(api.SectorStorageSubsystem) {
|
||||||
err := handleMiningInfo(cctx, ctx, fullapi, nodeApi)
|
err := handleMiningInfo(ctx, cctx, fullapi, nodeApi)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -120,7 +120,7 @@ func infoCmdAct(cctx *cli.Context) error {
|
|||||||
return nil
|
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)
|
maddr, err := getActorAddress(ctx, cctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user