Skip to content

Commit

Permalink
Clarify docs of minimum_balance (solana-labs#22385)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaque authored Jan 8, 2022
1 parent d90d5ee commit 0f94e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/program/src/rent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, --
Expand Down

0 comments on commit 0f94e1d

Please sign in to comment.