fix: fixes needed for createAccountWithSeed and sol-lamport ratio
This commit is contained in:
committed by
Michael Vines
parent
8541868587
commit
bed42ac26b
@@ -243,6 +243,7 @@ export class StakeProgram {
|
||||
static createAccountWithSeed(
|
||||
from: PublicKey,
|
||||
stakeAccount: PublicKey,
|
||||
base: PublicKey,
|
||||
seed: string,
|
||||
authorized: Authorized,
|
||||
lockup: Lockup,
|
||||
@@ -251,6 +252,7 @@ export class StakeProgram {
|
||||
let transaction = SystemProgram.createAccountWithSeed(
|
||||
from,
|
||||
stakeAccount,
|
||||
base,
|
||||
seed,
|
||||
lamports,
|
||||
this.space,
|
||||
|
Reference in New Issue
Block a user