Update id and version

This commit is contained in:
Michael Vines 2020-11-15 23:44:22 -08:00
parent 2aa5ee5192
commit b5306b4652
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "spl-feature-proposal"
version = "1.0.0-pre1"
version = "1.0.0-pre2"
description = "Solana Program Library Feature Proposal Program"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana-program-library"

View File

@ -1 +1 @@
badkenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8kn
Feat1YXHhH6t1juaWF74WLcfv4XoNocjXA6sPWHNgAse

View File

@ -12,7 +12,7 @@ pub mod state;
pub use solana_program;
use solana_program::{program_pack::Pack, pubkey::Pubkey};
solana_program::declare_id!("badkenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8kn"); // TODO: Update Id
solana_program::declare_id!("Feat1YXHhH6t1juaWF74WLcfv4XoNocjXA6sPWHNgAse");
pub(crate) fn get_mint_address_with_seed(feature_proposal_address: &Pubkey) -> (Pubkey, u8) {
Pubkey::find_program_address(&[&feature_proposal_address.to_bytes(), br"mint"], &id())