diff --git a/examples/name-service/programs/name-service/src/lib.rs b/examples/name-service/programs/name-service/src/lib.rs index 25c43e9802..d081df8660 100644 --- a/examples/name-service/programs/name-service/src/lib.rs +++ b/examples/name-service/programs/name-service/src/lib.rs @@ -11,6 +11,7 @@ use light_sdk::{ declare_id!("7yucc7fL3JGbyMwg4neUaenNSdySS39hbAk89Ao3t1Hz"); #[light_program] +#[program] pub mod name_service { use super::*; diff --git a/macros/light-sdk-macros/src/program.rs b/macros/light-sdk-macros/src/program.rs index ed4dfa1ff2..cd07307f10 100644 --- a/macros/light-sdk-macros/src/program.rs +++ b/macros/light-sdk-macros/src/program.rs @@ -285,7 +285,6 @@ pub(crate) fn program(mut input: ItemMod) -> Result { Ok(quote! { #instruction_params - #[program] #input }) }