diff --git a/api/api_storage.go b/api/api_storage.go index 816ad74bf..f34bb3367 100644 --- a/api/api_storage.go +++ b/api/api_storage.go @@ -87,9 +87,9 @@ type SectorInfo struct { Deals []uint64 Ticket sectorbuilder.SealTicket Seed sectorbuilder.SealSeed - Retries uint64 + Retries uint64 - LastErr string + LastErr string } type SealedRef struct { diff --git a/node/impl/storminer.go b/node/impl/storminer.go index 2b3a0352e..a31bd07a9 100644 --- a/node/impl/storminer.go +++ b/node/impl/storminer.go @@ -167,7 +167,7 @@ func (sm *StorageMinerAPI) SectorsStatus(ctx context.Context, sid uint64) (api.S Deals: deals, Ticket: info.Ticket.SB(), Seed: info.Seed.SB(), - Retries: info.Nonce, + Retries: info.Nonce, LastErr: info.LastErr, }, nil