Buch of lint fixes

This commit is contained in:
Łukasz Magiera
2019-12-02 13:51:16 +01:00
parent e239fe41d4
commit d5b94884c8
9 changed files with 27 additions and 32 deletions
+4 -4
View File
@@ -370,10 +370,10 @@ func storageMinerInit(ctx context.Context, cctx *cli.Context, api lapi.FullNode,
}
return nil
} else {
if err := configureStorageMiner(ctx, api, a, peerid); err != nil {
return xerrors.Errorf("failed to configure storage miner: %w", err)
}
}
if err := configureStorageMiner(ctx, api, a, peerid); err != nil {
return xerrors.Errorf("failed to configure storage miner: %w", err)
}
addr = a