Make initialize public (#17605)

This commit is contained in:
Michael Vines
2021-05-31 00:14:50 -07:00
committed by GitHub
parent d01b4f80f9
commit 2896fc3987

View File

@ -186,7 +186,7 @@ pub struct AuthorizeWithSeedArgs {
pub authority_owner: Pubkey,
}
fn initialize(stake_pubkey: &Pubkey, authorized: &Authorized, lockup: &Lockup) -> Instruction {
pub fn initialize(stake_pubkey: &Pubkey, authorized: &Authorized, lockup: &Lockup) -> Instruction {
Instruction::new_with_bincode(
id(),
&StakeInstruction::Initialize(*authorized, *lockup),