mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-03 15:11:20 +00:00
auth
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
mod claim;
|
||||
mod close;
|
||||
mod initialize;
|
||||
mod declare_proof;
|
||||
mod initialize;
|
||||
mod mine;
|
||||
mod open;
|
||||
mod reset;
|
||||
@@ -11,8 +11,8 @@ mod upgrade;
|
||||
|
||||
use claim::*;
|
||||
use close::*;
|
||||
use initialize::*;
|
||||
use declare_proof::*;
|
||||
use initialize::*;
|
||||
use mine::*;
|
||||
use open::*;
|
||||
use reset::*;
|
||||
@@ -45,9 +45,9 @@ pub fn process_instruction(
|
||||
.ok_or(ProgramError::InvalidInstructionData)?;
|
||||
|
||||
match OreInstruction::try_from(*tag).or(Err(ProgramError::InvalidInstructionData))? {
|
||||
OreInstruction::Auth => process_auth(program_id, accounts, data)?,
|
||||
OreInstruction::Claim => process_claim(program_id, accounts, data)?,
|
||||
OreInstruction::Close => process_close(program_id, accounts, data)?,
|
||||
OreInstruction::DeclareProof => process_declare_proof(program_id, accounts, data)?,
|
||||
OreInstruction::Mine => process_mine(program_id, accounts, data)?,
|
||||
OreInstruction::Open => process_open(program_id, accounts, data)?,
|
||||
OreInstruction::Reset => process_reset(program_id, accounts, data)?,
|
||||
|
||||
Reference in New Issue
Block a user