Skip to content

Commit

Permalink
Fix fall rate corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jan 9, 2025
1 parent 2266730 commit 34ab3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/helium-sub-daos/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ pub fn caclulate_vhnt_info(
position.voting_power_precise(voting_mint_config, end_epoch_start_ts)?;

end_vehnt_correction = vehnt_at_closing_epoch_start;
if position.genesis_end < expiration_ts {
if position.genesis_end < delegation_end_ts {
end_fall_rate_correction = post_genesis_end_fall_rate;
} else {
end_fall_rate_correction = pre_genesis_end_fall_rate;
Expand Down

0 comments on commit 34ab3ae

Please sign in to comment.