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 a2f643e7c7
commit f0e9843dd4

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,