Add redeem_vote_credits to runtime (#7910)
* Move redeem_vote_credits into runtime * fixup * test * move stake manipulation to stake program * chugga for less indentation
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
//! useful extras for Account state
|
||||
use crate::account::{Account, KeyedAccount};
|
||||
use crate::instruction::InstructionError;
|
||||
use crate::{
|
||||
account::{Account, KeyedAccount},
|
||||
instruction::InstructionError,
|
||||
};
|
||||
use bincode::ErrorKind;
|
||||
|
||||
/// Convenience trait to covert bincode errors to instruction errors.
|
||||
|
Reference in New Issue
Block a user