Clarify docs of minimum_balance (#22385) (#22387)

(cherry picked from commit 0f94e1d3a25272910b92b2615da5c102a53c33c4)

Co-authored-by: Evan Conrad <evan@roomservice.dev>
This commit is contained in:
mergify[bot] 2022-01-08 20:07:57 +00:00 committed by GitHub
parent 8ce65878da
commit a9ebba5643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ impl Rent {
let burned_portion = (rent_collected * u64::from(self.burn_percent)) / 100;
(burned_portion, rent_collected - burned_portion)
}
/// minimum balance due for a given size Account::data.len()
/// minimum balance due for rent-exemption of a given size Account::data.len()
///
/// Note: a stripped-down version of this calculation is used in
/// calculate_split_rent_exempt_reserve in the stake program. When this function is updated, --