mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-18 07:26:44 +00:00
Boost v3 cutover (#118)
* steel v4 * scaffold boost v3 integration * fix build * enforce rotation duration * update interface * update deps * bump version * boost v3 * rsut version * deps * silent error * remove version flag
This commit is contained in:
@@ -17,7 +17,7 @@ pub fn process_claim(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
|
||||
beneficiary_info
|
||||
.is_writable()?
|
||||
.as_token_account()?
|
||||
.assert(|t| t.mint == MINT_ADDRESS)?;
|
||||
.assert(|t| t.mint() == MINT_ADDRESS)?;
|
||||
let proof = proof_info
|
||||
.as_account_mut::<Proof>(&ore_api::ID)?
|
||||
.assert_mut_err(
|
||||
|
||||
Reference in New Issue
Block a user