fix: lint 2

This commit is contained in:
Andrew Jackson (Ajax) 2023-11-29 11:11:30 -06:00
parent 6df785b9b3
commit 9aa6afb4ba

View File

@ -478,7 +478,8 @@ func (mgr *SectorMgr) StageFakeData(mid abi.ActorID, spt abi.RegisteredSealProof
} }
buf := make([]byte, usize) buf := make([]byte, usize)
_, _ = rand.Read(buf) // nolint:gosec lint:ignore SA1019 we need predictable "randomness" here // lint:ignore SA1019 we need predictable "randomness" here
_, _ = rand.Read(buf) // nolint:gosec
id := storiface.SectorRef{ id := storiface.SectorRef{
ID: abi.SectorID{ ID: abi.SectorID{