fix: add Clock sysvar to AuthorizeWithSeed instruction

This commit is contained in:
Michael Vines 2021-01-25 11:35:20 -08:00
parent 8359f4f5ff
commit fd06c1f8fa
1 changed files with 1 additions and 0 deletions

View File

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