This commit is contained in:
Hardhat Chad
2025-10-08 16:34:53 -07:00
parent d4b4db8927
commit 44f4021834
15 changed files with 393 additions and 49 deletions

View File

@@ -51,7 +51,7 @@ pub fn process_deposit(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResu
stake.last_deposit_at = 0;
stake.last_withdraw_at = 0;
stake.is_seeker = 0;
stake.rewards_factor = treasury.rewards_factor;
stake.rewards_factor = treasury.stake_rewards_factor;
stake.rewards = 0;
stake.lifetime_rewards = 0;
stake