Skip to content

Commit

Permalink
Drop unfinished update max vote weight instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
ckamm committed Dec 10, 2023
1 parent e90cc9b commit 8acfb91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 34 deletions.
2 changes: 0 additions & 2 deletions programs/voter-stake-registry/src/instructions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ pub use internal_transfer_locked::*;
pub use internal_transfer_unlocked::*;
pub use log_voter_info::*;
pub use reset_lockup::*;
pub use update_max_vote_weight::*;
pub use update_voter_weight_record::*;
pub use withdraw::*;

Expand All @@ -28,6 +27,5 @@ mod internal_transfer_locked;
mod internal_transfer_unlocked;
mod log_voter_info;
mod reset_lockup;
mod update_max_vote_weight;
mod update_voter_weight_record;
mod withdraw;

This file was deleted.

4 changes: 0 additions & 4 deletions programs/voter-stake-registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ pub mod voter_stake_registry {
instructions::update_voter_weight_record(ctx)
}

pub fn update_max_vote_weight(ctx: Context<UpdateMaxVoteWeight>) -> Result<()> {
instructions::update_max_vote_weight(ctx)
}

pub fn close_voter<'key, 'accounts, 'remaining, 'info>(
ctx: Context<'key, 'accounts, 'remaining, 'info, CloseVoter<'info>>,
) -> Result<()> {
Expand Down

0 comments on commit 8acfb91

Please sign in to comment.