Skip to content

Commit

Permalink
Merge pull request #10182 from 0x5459/fix-louts-miner-extend-cmd
Browse files Browse the repository at this point in the history
fix: cli: extend cmd to get the right sector number
  • Loading branch information
geoff-vball authored Feb 3, 2023
2 parents f88fc07 + e1c00bd commit 9b071bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-miner/sectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit 9b071bc

Please sign in to comment.