This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
Miner Policy: Correct truncating division #1250
Labels
change-behaviour
Changes behaviour or state interpretation, necessitating a network version upgrade
P2
Medium priority, beneficial for network functionality and growth
Milestone
QualityForWeight
returns the average of weighted space time here:specs-actors/actors/builtin/miner/policy.go
Lines 184 to 185 in 6c71cf5
Dividing twice may introduce error in some cases. The return can be re-written to divide only once:
The text was updated successfully, but these errors were encountered: