Skip to content

Commit

Permalink
Merge pull request #3715 from filecoin-project/fix/chainwatch/partiti…
Browse files Browse the repository at this point in the history
…on-diff

fix(chainwatch): compare prev miner with cur miner
  • Loading branch information
magik6k authored Sep 9, 2020
2 parents be9d8f7 + f2b238f commit 73bb9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-chainwatch/processor/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ func (p *Processor) getMinerSectorChanges(ctx context.Context, m minerActorInfo)
}

func (p *Processor) diffMinerPartitions(ctx context.Context, m minerActorInfo, events chan<- *MinerSectorsEvent) error {
prevMiner, err := p.getMinerStateAt(ctx, m.common.addr, m.common.tsKey)
prevMiner, err := p.getMinerStateAt(ctx, m.common.addr, m.common.parentTsKey)
if err != nil {
return err
}
Expand Down

0 comments on commit 73bb9d5

Please sign in to comment.