Merge pull request #10182 from 0x5459/fix-louts-miner-extend-cmd

fix: cli: extend cmd to get the right sector number
This commit is contained in:
Geoff Stuart 2023-02-03 06:36:19 -05:00 committed by GitHub
commit 9b071bc96b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -761,7 +761,7 @@ func getSectorsFromFile(filePath string) ([]abi.SectorNumber, error) {
func SectorNumsToBitfield(sectors []abi.SectorNumber) bitfield.BitField {
var numbers []uint64
for sector := range sectors {
for _, sector := range sectors {
numbers = append(numbers, uint64(sector))
}