mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-19 15:10:29 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user