fix formula in comment (#4006)

This commit is contained in:
joe petrowski
2019-11-03 15:09:45 +01:00
committed by Kian Paimani
parent 69c4e2f7f0
commit 77ed0dc2bc
+1 -1
View File
@@ -61,7 +61,7 @@ impl<C: Get<Balance>> Convert<Weight, Balance> for LinearWeightToFee<C> {
/// Update the given multiplier based on the following formula
///
/// diff = (target_weight - previous_block_weight)
/// diff = (previous_block_weight - target_weight)
/// v = 0.00004
/// next_weight = weight * (1 + (v . diff) + (v . diff)^2 / 2)
///