Clean up "APR" language around inflation rewards (#16732)

(cherry picked from commit b8b54567b1)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2021-04-22 03:29:52 +00:00
committed by GitHub
parent 13e176a633
commit 9413051053
3 changed files with 16 additions and 7 deletions

View File

@@ -241,8 +241,10 @@ impl fmt::Display for GenesisConfig {
Shred version: {}\n\
Ticks per slot: {:?}\n\
Hashes per tick: {:?}\n\
Target tick duration: {:?}\n\
Slots per epoch: {}\n\
Warmup epochs: {}abled\n\
Slots per year: {}\n\
{:?}\n\
{:?}\n\
{:?}\n\
@@ -256,12 +258,14 @@ impl fmt::Display for GenesisConfig {
compute_shred_version(&self.hash(), None),
self.ticks_per_slot,
self.poh_config.hashes_per_tick,
self.poh_config.target_tick_duration,
self.epoch_schedule.slots_per_epoch,
if self.epoch_schedule.warmup {
"en"
} else {
"dis"
},
self.slots_per_year(),
self.inflation,
self.rent,
self.fee_rate_governor,