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:
commit
9b071bc96b
@ -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))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user