Make default programs static (#9717)

This commit is contained in:
Jack May
2020-04-27 21:05:12 -07:00
committed by GitHub
parent 193dbb1794
commit efad193180
34 changed files with 134 additions and 173 deletions

View File

@@ -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]

View File

@@ -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");