Include GenesisConfig inflation in Display (#10282)

automerge
This commit is contained in:
Ryo Onodera 2020-05-28 14:35:19 +09:00 committed by GitHub
parent 075dc078da
commit 34796d2c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,7 @@ impl fmt::Display for GenesisConfig {
Warmup epochs: {}abled\n\ Warmup epochs: {}abled\n\
{:?}\n\ {:?}\n\
{:?}\n\ {:?}\n\
{:?}\n\
Capitalization: {} SOL in {} accounts\n\ Capitalization: {} SOL in {} accounts\n\
", ",
Utc.timestamp(self.creation_time, 0).to_rfc3339(), Utc.timestamp(self.creation_time, 0).to_rfc3339(),
@ -211,6 +212,7 @@ impl fmt::Display for GenesisConfig {
} else { } else {
"dis" "dis"
}, },
self.inflation,
self.rent, self.rent,
self.fee_rate_governor, self.fee_rate_governor,
lamports_to_sol( lamports_to_sol(