This commit is contained in:
Hardhat Chad
2025-06-25 09:40:11 -05:00
parent 7777c62238
commit 11d5442dd2
7 changed files with 2 additions and 42 deletions

View File

@@ -26,9 +26,6 @@ pub fn process_mine(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult
.is_writable()?
.has_address(&commitment_pda(block.id).0)?
.as_token_account()?;
// .assert(|t| t.mint() == *mint_hash_info.key)?
// .assert(|t| t.owner() == *block_info.key)?;
// commitment_info.as_associated_token_account(block_info.key, mint_hash_info.key)?;
let market = market_info
.as_account::<Market>(&ore_api::ID)?
.assert(|m| m.id == block.id)?;