fix: add Clock sysvar to AuthorizeWithSeed instruction

(cherry picked from commit fd06c1f8fa)
This commit is contained in:
Michael Vines
2021-01-25 11:35:20 -08:00
parent 7ed513c24f
commit b2f3bc2c7b

View File

@ -642,6 +642,7 @@ export class StakeProgram {
keys: [ keys: [
{pubkey: stakePubkey, isSigner: false, isWritable: true}, {pubkey: stakePubkey, isSigner: false, isWritable: true},
{pubkey: authorityBase, isSigner: true, isWritable: false}, {pubkey: authorityBase, isSigner: true, isWritable: false},
{pubkey: SYSVAR_CLOCK_PUBKEY, isSigner: false, isWritable: false},
], ],
programId: this.programId, programId: this.programId,
data, data,