storage: paths: Fix typo in proof error message

Co-authored-by: Piotr Bochenek <pbochenek@worldremit.com>
This commit is contained in:
Łukasz Magiera 2022-11-14 21:04:18 +01:00 committed by GitHub
parent cbcd0d49ae
commit e476c1ab17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -806,7 +806,7 @@ func (st *Local) GenerateSingleVanillaProof(ctx context.Context, minerID abi.Act
log.Errorw("failed to generate valilla PoSt proof before context cancellation", "err", ctx.Err(), "duration", time.Now().Sub(start), "cache-id", cacheID, "sealed-id", sealedID, "cache", cache, "sealed", sealed)
// this will leave the GenerateSingleVanillaProof goroutine hanging, but that's still less bad than failing PoSt
return nil, xerrors.Errorf("failed to generate valilla proof before context cancellation: %w", ctx.Err())
return nil, xerrors.Errorf("failed to generate vanilla proof before context cancellation: %w", ctx.Err())
}
}