Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix formula in comment (#4006)
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski authored and kianenigma committed Nov 3, 2019
1 parent 56a2aef commit a218568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/runtime/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
///
Expand Down

0 comments on commit a218568

Please sign in to comment.