storageminer: Use tabwriter in sectors list

This commit is contained in:
Łukasz Magiera 2020-01-23 17:15:45 +01:00
parent 943197e65c
commit ddf5cce6dd

View File

@ -14,13 +14,13 @@ import (
// TODO: For now we handle this by halting state execution, when we get jsonrpc reconnecting
// We should implement some wait-for-api logic
type ErrApi struct{error}
type ErrApi struct{ error }
type ErrInvalidDeals struct{error}
type ErrExpiredDeals struct{error}
type ErrInvalidDeals struct{ error }
type ErrExpiredDeals struct{ error }
type ErrBadCommD struct{error}
type ErrExpiredTicket struct{error}
type ErrBadCommD struct{ error }
type ErrExpiredTicket struct{ error }
func checkPieces(ctx context.Context, si SectorInfo, api sealingApi) error {
head, err := api.ChainHead(ctx)