fix: add Clock sysvar to AuthorizeWithSeed instruction
(cherry picked from commit fd06c1f8fa
)
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user