mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-16 07:26:51 +00:00
error + 300
This commit is contained in:
@@ -31,6 +31,7 @@ pub enum OreError {
|
||||
|
||||
impl From<OreError> for ProgramError {
|
||||
fn from(e: OreError) -> Self {
|
||||
ProgramError::Custom(e as u32)
|
||||
let f = (e as u32) + 300;
|
||||
ProgramError::Custom(f)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,4 +10,4 @@ pub(crate) use ore_utils as utils;
|
||||
use solana_program::declare_id;
|
||||
|
||||
// declare_id!("mineRHF5r6S7HyD9SppBfVMXMavDkJsxwGesEvxZr2A");
|
||||
declare_id!("D79kvBCKwUJxQjrVk1Jf34R1erLTAaAmFW9eqmYbGDqp");
|
||||
declare_id!("7LARaw2QJCftkGR14QVV6NSj3MFZM9iUL4GfSKySXphJ");
|
||||
|
||||
Reference in New Issue
Block a user