Make initialize public (#17605) (#17607)

(cherry picked from commit 2896fc3987)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2021-05-31 08:51:05 +00:00
committed by GitHub
parent 2f7f243022
commit 8ca2f52041

View File

@ -186,7 +186,7 @@ pub struct AuthorizeWithSeedArgs {
pub authority_owner: Pubkey, 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( Instruction::new_with_bincode(
id(), id(),
&StakeInstruction::Initialize(*authorized, *lockup), &StakeInstruction::Initialize(*authorized, *lockup),