Cleanup (#7176)
* Drop serde error instances These were no longer needed after ToPrimitive instances were added. * Rename last of _api crates
This commit is contained in:
@@ -19,7 +19,7 @@ use solana_sdk::{
|
||||
};
|
||||
|
||||
/// Reasons the stake might have had an error
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)]
|
||||
#[derive(Debug, Clone, PartialEq, FromPrimitive, ToPrimitive)]
|
||||
pub enum VoteError {
|
||||
VoteTooOld,
|
||||
SlotsMismatch,
|
||||
|
Reference in New Issue
Block a user