Skip to content

Commit

Permalink
fix: include height with chain power results (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
iand authored Nov 20, 2020
1 parent ba3ccd2 commit 9db0e4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/actorstate/power.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func ExtractChainPower(ec *PowerStateExtractionContext) (*powermodel.ChainPower,
}

return &powermodel.ChainPower{
Height: int64(ec.CurrTs.Height()),
StateRoot: ec.CurrTs.ParentState().String(),
TotalRawBytesPower: pow.RawBytePower.String(),
TotalQABytesPower: pow.QualityAdjPower.String(),
Expand Down

0 comments on commit 9db0e4e

Please sign in to comment.