Use pico inflation for ledger-tool capitalization --enable-inflation (#13215) (#13222)

* Use pico inflation for ledger-tool capitalization --enable-inflation

* rust fmt

(cherry picked from commit 7d2962135d)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-28 07:40:21 +00:00
committed by GitHub
parent ad2bf3afa6
commit 19b9839dfc
3 changed files with 6 additions and 2 deletions

View File

@@ -3919,7 +3919,7 @@ impl Bank {
let new_feature_activations = self.compute_active_feature_set(!init_finish_or_warp);
if new_feature_activations.contains(&feature_set::pico_inflation::id()) {
*self.inflation.write().unwrap() = Inflation::new_fixed(0.0001); // 0.01% inflation
*self.inflation.write().unwrap() = Inflation::pico();
self.fee_rate_governor.burn_percent = 50; // 50% fee burn
self.rent_collector.rent.burn_percent = 50; // 50% rent burn
}