mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
market
This commit is contained in:
@@ -21,8 +21,8 @@ pub fn process_close(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul
|
||||
market_hash_info.as_associated_token_account(market_info.key, mint_hash_info.key)?;
|
||||
let market_ore =
|
||||
market_ore_info.as_associated_token_account(market_info.key, mint_ore_info.key)?;
|
||||
mint_hash_info.has_address(&market.mint)?;
|
||||
mint_ore_info.has_address(&MINT_ADDRESS)?;
|
||||
mint_hash_info.has_address(&market.base.mint)?.as_mint();
|
||||
mint_ore_info.has_address(&market.quote.mint)?.as_mint();
|
||||
system_program.is_program(&system_program::ID)?;
|
||||
token_program.is_program(&spl_token::ID)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user