Skip to content

Commit

Permalink
Fix Partition #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ales Dumikau committed Dec 4, 2023
1 parent 4ad8263 commit bc353ac
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gateway/proxy_fil.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ import (
"github.com/filecoin-project/lotus/node/modules/dtypes"
)

type Partition struct {
AllSectors bitfield.BitField
FaultySectors bitfield.BitField
RecoveringSectors bitfield.BitField
LiveSectors bitfield.BitField
ActiveSectors bitfield.BitField
}

func (gw *Node) StateMinerPartitions(ctx context.Context, m address.Address, dlIdx uint64, tsk types.TipSetKey) ([]Partition, error) {
if err := gw.limit(ctx, stateRateLimitTokens); err != nil {
return nil, err
Expand Down

0 comments on commit bc353ac

Please sign in to comment.