fix: lint 2
This commit is contained in:
parent
6df785b9b3
commit
9aa6afb4ba
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user