Skip to content

Commit

Permalink
Clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots committed Mar 15, 2024
1 parent df6895a commit ab9ffb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions programs/stake/src/stake_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,7 @@ fn validate_split_amount(
let rent = invoke_context.get_sysvar_cache().get_rent()?;
let destination_rent_exempt_reserve = rent.minimum_balance(destination_data_len);

// As of feature `require_rent_exempt_split_destination`, if the source is active stake, one of
// these criteria must be met:
// If the source is active stake, one of these criteria must be met:
// 1. the destination account must be prefunded with at least the rent-exempt reserve, or
// 2. the split must consume 100% of the source
if source_is_active
Expand Down

0 comments on commit ab9ffb8

Please sign in to comment.