Make default programs static (#9717)
This commit is contained in:
@@ -21,7 +21,7 @@ solana-sdk = { path = "../../sdk", version = "1.2.0" }
|
||||
thiserror = "1.0"
|
||||
|
||||
[lib]
|
||||
crate-type = ["lib", "cdylib"]
|
||||
crate-type = ["lib"]
|
||||
name = "solana_vote_program"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
@@ -6,10 +6,4 @@ pub mod vote_transaction;
|
||||
#[macro_use]
|
||||
extern crate solana_metrics;
|
||||
|
||||
use crate::vote_instruction::process_instruction;
|
||||
|
||||
solana_sdk::declare_program!(
|
||||
"Vote111111111111111111111111111111111111111",
|
||||
solana_vote_program,
|
||||
process_instruction
|
||||
);
|
||||
solana_sdk::declare_id!("Vote111111111111111111111111111111111111111");
|
||||
|
Reference in New Issue
Block a user