Claim fee (#136)

* claim fee

* migration

* migrate

* sdk

* disable fee

* disable claim fee

* cleanup

* cleanup

* fix

* cleanup

* stake

* cleanup

* cleanup

* cleanup

* hour
This commit is contained in:
Hardhat Chad
2025-10-07 18:28:26 -05:00
committed by GitHub
parent bbfbb82157
commit d4b4db8927
9 changed files with 67 additions and 23 deletions

View File

@@ -62,7 +62,7 @@ pub fn process_deposit(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResu
};
// Only allow deposits from seekers.
assert!(stake.is_seeker == 1, "Only seekers can deposit stake");
// assert!(stake.is_seeker == 1, "Only seekers can deposit stake");
// Deposit into stake account.
let amount = stake.deposit(amount, &clock, treasury, &sender);