get DLL names from programs that made the DLL (#4269)
* get program names from programs * fixup
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "solana-vote-program"
|
||||
version = "0.15.0"
|
||||
description = "Solana vote program"
|
||||
description = "Solana Vote program"
|
||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||
repository = "https://github.com/solana-labs/solana"
|
||||
license = "Apache-2.0"
|
||||
@@ -16,5 +16,4 @@ solana-vote-api = { path = "../vote_api", version = "0.15.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_vote_program"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
crate-type = ["lib","cdylib"]
|
||||
|
@@ -1,3 +1,9 @@
|
||||
use solana_vote_api::vote_instruction::process_instruction;
|
||||
#[macro_export]
|
||||
macro_rules! solana_vote_program {
|
||||
() => {
|
||||
("solana_vote_program".to_string(), solana_vote_api::id())
|
||||
};
|
||||
}
|
||||
|
||||
use solana_vote_api::vote_instruction::process_instruction;
|
||||
solana_sdk::solana_entrypoint!(process_instruction);
|
||||
|
Reference in New Issue
Block a user