From 0f94e1d3a25272910b92b2615da5c102a53c33c4 Mon Sep 17 00:00:00 2001 From: Evan Conrad Date: Sat, 8 Jan 2022 10:27:32 -0800 Subject: [PATCH] Clarify docs of `minimum_balance` (#22385) --- sdk/program/src/rent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/program/src/rent.rs b/sdk/program/src/rent.rs index 502eef43ad..88f6aeb8d4 100644 --- a/sdk/program/src/rent.rs +++ b/sdk/program/src/rent.rs @@ -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, --