diff --git a/examples/oft-solana/programs/oft/src/lib.rs b/examples/oft-solana/programs/oft/src/lib.rs index 74194d899..41cdf232c 100644 --- a/examples/oft-solana/programs/oft/src/lib.rs +++ b/examples/oft-solana/programs/oft/src/lib.rs @@ -14,13 +14,9 @@ use oapp::{ endpoint::{MessagingFee, MessagingReceipt}, LzReceiveParams, }; -use solana_helper::program_id_from_env; use state::*; -declare_id!(Pubkey::new_from_array(program_id_from_env!( - "OFT_ID", - "9UovNrJD8pQyBLheeHNayuG1wJSEAoxkmM14vw5gcsTT" -))); +declare_id!("9UovNrJD8pQyBLheeHNayuG1wJSEAoxkmM14vw5gcsTT"); pub const OFT_SEED: &[u8] = b"OFT"; pub const PEER_SEED: &[u8] = b"Peer";