Make initialize public (#17605) (#17606)

(cherry picked from commit 2896fc3987)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2021-05-31 07:45:34 -07:00
committed by GitHub
parent 6a2377dd50
commit c3f66dcfa7

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),